This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 5 years ago

Last modified 2 years ago

#706 new defect

Timestamps should be relative to UTC

Reported by: pferreir Owned by:
Priority: high Milestone: v2.2
Component: General Version: 0.97.0
Keywords: Cc:

Description

both indico.util.date_time.int_timestamp and MaKaC.common.timezoneUtils.date2utctimestamp (both used in indexes) are returning the time as a local timestamp (not UTC), which seems to be DST safe, but nonetheless wrong.
These functions should be replaced with proper substitute(s) (already available in both affected modules) and the DB corrected.

Change History (2)

comment:1 Changed 3 years ago by jbenito

  • Milestone changed from v1.0 to v1.2

comment:2 Changed 2 years ago by jbenito

  • Milestone changed from v1.2 to v1.4
Note: See TracTickets for help on using tickets.