EliAndrewC / sideboard

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

UTCDateTime should not use pytz #9

Closed EliAndrewC closed 8 years ago

EliAndrewC commented 10 years ago

We currently use pytz to do timezone conversions, but we theoretically don't have to; we should be able to get the timezone offset and do the conversion just using the standard library, which would eliminate the need for plugins to use pytz just to convert to UTC.

That's useful because currently sideboard.lib.sa either does or does not contain UTCDateTime based on whether the plugin happens to have pytz installed. That's fine but counterintuitive.