Skip to content

Commit

Permalink
support am/pm formats
Browse files Browse the repository at this point in the history
  • Loading branch information
ohadmata committed Jun 10, 2024
1 parent a343da5 commit 0641022
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shmessy/types/datetime_.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ class DatetimeType(BaseType):
dynamic_patterns: list[str] = [
"%H:%M", # 00:00
"%H:%M:%S", # 00:00:00
"%H:%M:%S %p", # 00:00:00 AM
"%H:%M %p", # 00:00 AM
"%H:%M:%S.%f", # 00:00:00.000
"%H:%M:%S %Z", # 00:00:00 UTC
"%H:%M:%S %z", # 00:00:00 +00:00
Expand Down

0 comments on commit 0641022

Please sign in to comment.