so, in settings have following:
language_code = 'en-us' use_i18n = true use_l10n = true use_tz = true time_zone = 'europe/copenhagen'
however, when issue:
timezone.now() datetime.datetime(2015, 9, 26, 8, 47, 15, 862729, tzinfo=<utc>)
and time 2 hours late.
i reading documentation , see method calls datetime.datetime() , information there correct. see output based on variable time_zone, set current location. shouldn't timezone.now() correct time_zone time then?
another question: datetime.datetime() gets information server?
Comments
Post a Comment