Skip to content

Commit

Permalink
Lowercase Unit and Before and After
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit Vermeulen committed Dec 17, 2024
1 parent 04d6398 commit 4656f24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions home/import_ordered_content_sets.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ def _extract_ordered_content_set_pages(
return [
OrderedContentSetPage(
time=time,
unit=unit,
before_or_after=before_or_after,
unit=unit.lower(),
before_or_after=before_or_after.lower(),
page_slug=page_slug,
contact_field=contact_field,
locale=row["locale"],
Expand Down
2 changes: 1 addition & 1 deletion home/tests/import-export-data/ordered_content.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name,Profile Fields,Page Slugs,Time,Unit,Before Or After,Contact Field,Slug,Locale
Test Set,"gender:male, relationship:in_a_relationship","first_time_user, first_time_user, first_time_user","2, 3, 4","days, months, minutes","before, before, after",edd,Test_Set,en
Test Set PT,"gender:male, relationship:in_a_relationship",first_time_user,2,days,before,edd,test_set,pt
Test Set PT,"gender:male, relationship:in_a_relationship",first_time_user,2,Days,Before,edd,test_set,pt

0 comments on commit 4656f24

Please sign in to comment.