Skip to content

Commit

Permalink
fix: use now as dtstamp
Browse files Browse the repository at this point in the history
  • Loading branch information
eoleedi committed Apr 9, 2024
1 parent 1016a7c commit b652c9f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions timetree_exporter/formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ def to_ical(self) -> Event:

event.add("uid", self.uid)
event.add("summary", self.summary)
# event.add("dtstamp", datetime.now(tz.tzutc()))
event.add("dtstamp", datetime.fromtimestamp(0, tz.tzutc()))
event.add("dtstamp", datetime.now(tz.tzutc()))
event.add("created", self.created)
event.add("last-modify", self.last_modify)
event.add("dtstart", self.dtstart)
Expand Down

0 comments on commit b652c9f

Please sign in to comment.