Projects
Wiki     Timeline     Roadmap     Browse Source     View Tickets     New Ticket     Search

Ticket #117 (closed Defect: Software changed)

Opened 4 years ago

Last modified 3 years ago

Time in logfiles is wrong

Reported by: cdaboo@… Owned by: cdaboo@…
Priority: 2: Expected Milestone: CalendarServer-1.0
Component: Calendar Server Severity: Other
Keywords: Cc:

Description

The timestamp in the log files is one hour off. It looks like it thinks that DST is still in effect.

twisted.web2.log.py has this:

if not time.daylight:

tz = <<non-dst>>

else:

tz = <<dst>>

However the definition for time.daylight says its value merely indicates whether the current timezone supports DST, not whether DST is actually in effect right now. Instead the dst value from time.localtime() should be used to determine the proper offset.

Change History

Changed 4 years ago by wsanchez@…

  • milestone changed from CalDAV-access to Preview 1

Changed 3 years ago by wsanchez@…

  • status changed from new to closed
  • resolution set to fixed

OK in trunk

Changed 3 years ago by wsanchez@…

  • milestone changed from Preview 1 to Version One

Milestone Preview 1 deleted

Note: See TracTickets for help on using tickets.