Skip to content

Commit

Permalink
No point in microseconds.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihxil committed Nov 13, 2023
1 parent 0272bce commit 8de4bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/npoapi/bin/npo_media_follow_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def title(self, change):
return "<no media>"

def timestamp_to_string(self, timestamp):
return datetime.fromtimestamp(timestamp/1000).isoformat()
return datetime.fromtimestamp(timestamp/1000).isoformat(timespec='milliseconds')

def set_since(self, timestamp, mid):
self.since['timestamp'] = timestamp
Expand Down

0 comments on commit 8de4bc9

Please sign in to comment.