Loggerhead is time zone-naive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
loggerhead |
Fix Released
|
Low
|
Robert Collins |
Bug Description
The few places I see Loggerhead use the datetime module, it uses datetime.
What do you want to do? Least invasive would be adding "utc_date" and/or "timezone" attributes to "change" objects, but maybe it would be better to use UTC or the revisions' original time zones everywhere. Or continue using local time, but show the time zone in the UI. Or something; I dunno.
(By "change" objects I mean those returned by loggerhead.
(Time zones and "datetime" make me want to bang my head on a wall.)
Edit: I meant to add, I don't know how much of the code base is effected by this, since, well, grepping for "datetime" only returns 3 results, but "time" returns...a lot more. :P Any solution may need to apply to other things as well.
description: | updated |
description: | updated |
Changed in loggerhead: | |
status: | Fix Committed → Fix Released |
It would be good to be less naive here.
I guess local-timezone- by-default and a --utc option would perhaps make sense?
I share the desire to bang my head on a wall when I think too hard about all this stuff though.