Skip to content

Commit

Permalink
refactor code
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-muchiri committed Sep 17, 2024
1 parent 69670ac commit c35c464
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion onadata/libs/utils/common_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
# datetime format that we store in mongo
MONGO_STRFTIME = "%Y-%m-%dT%H:%M:%S"
DATE_FORMAT = "%Y-%m-%d"
KNOWN_DATE_FORMATS = [MONGO_STRFTIME, DATE_FORMAT, "%Y-%m-%dT%H:%M:%S.%f%z"]
ISO_FORMAT = "%Y-%m-%dT%H:%M:%S.%f%z"
KNOWN_DATE_FORMATS = [MONGO_STRFTIME, DATE_FORMAT, ISO_FORMAT]

# how to represent N/A in exports
NA_REP = "n/a"
Expand Down

0 comments on commit c35c464

Please sign in to comment.