I am working on a localized Django application with a simple forum. The timestamps of some messages are displayed as if they were posted 7 hours earlier. What is strange is that this happens to some users, sometimes (the user can publish once, and he is fine, the message is wrong again).
settings.py:
TIME_ZONE = 'Europe/Prague'
LANGUAGES = ( ('cs-cz', _('Czech')), )
DATABASE_ENGINE = 'sqlite3'
Model:
class Post(models.Model):
created = models.DateTimeField(auto_now_add=True)
Running on Apache with mod_wsgi.
source
share