saschagottfried / todopyramid

My refactored version of ToDo Pyramid
1 stars 0 forks source link

add DST handling to datetime timezone-aware conversion #28

Open saschagottfried opened 10 years ago

saschagottfried commented 10 years ago

currently the implementation is not handling daylight saving time (DST) aspects.

The preferred way of dealing with times is to always work in UTC, converting to localtime only when generating output to be read by humans.

cited from here: http://pytz.sourceforge.net/#localized-times-and-date-arithmetic

cited from here as well: http://babel.pocoo.org/docs/dates/#time-zone-support

saschagottfried commented 10 years ago

While close this issue, please do not forget to apply change to time values in database initializer initializedb.generate_dummy_content

saschagottfried commented 9 years ago

Oh new information about his topic from sixfeetup itself!

refering to