id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 7209 time_zone conflict.. datetime.now() (in django shell) shows 3 hours earlier alperkanat@… nobody "to make it clear, I replicate the problem: {{{ [02:29] (tunix@penguix raptiye)$ date Cts May 10 02:31:57 EEST 2008 }}} {{{ [02:31] (tunix@penguix raptiye)$ python Python 2.5.2 (r252:60911, Feb 23 2008, 21:20:32) [GCC 4.2.3] on linux2 Type ""help"", ""copyright"", ""credits"" or ""license"" for more information. >>> from datetime import datetime >>> datetime.now() datetime.datetime(2008, 5, 10, 2, 32, 7, 410947) >>> datetime.utcnow() datetime.datetime(2008, 5, 9, 23, 32, 10, 255636) >>> }}} {{{ [02:32] (tunix@penguix raptiye)$ ./manage.py shell Python 2.5.2 (r252:60911, Feb 23 2008, 21:20:32) [GCC 4.2.3] on linux2 Type ""help"", ""copyright"", ""credits"" or ""license"" for more information. (InteractiveConsole) >>> from datetime import datetime >>> datetime.now() datetime.datetime(2008, 5, 9, 23, 32, 25, 624929) >>> datetime.utcnow() datetime.datetime(2008, 5, 9, 23, 32, 29, 45600) >>> }}} i've just set system time to UTC and it still doesn't work.. i'm using Europe/Istanbul as the timezone.. django would work fine a few weeks before.." closed Core (Other) dev worksforme Accepted 0 0 0 0 0 0