Skip to content

Commit 9de360f

Browse files
author
Michael van Tellingen
committed
Fix snapshot.aware_tstamp by converting from utc timestamp
1 parent edd7773 commit 9de360f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djcelery/snapshot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
def aware_tstamp(secs):
3535
"""Event timestamps uses the local timezone."""
36-
return maybe_make_aware(datetime.fromtimestamp(secs))
36+
return maybe_make_aware(datetime.utcfromtimestamp(secs))
3737

3838

3939
class Camera(Polaroid):

0 commit comments

Comments
 (0)