Skip to content

Commit

Permalink
Remove superluous ":" from iso8601 timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Jan 31, 2024
1 parent 45badb2 commit 11d5ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trakt/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def now():

def timestamp(date_object):
"""Generate a trakt formatted timestamp from the given date object"""
fmt = '%Y-%m-%d:T%H:%M:%S.000Z'
fmt = '%Y-%m-%dT%H:%M:%S.000Z'
return date_object.strftime(fmt)


Expand Down

0 comments on commit 11d5ce8

Please sign in to comment.