Timezones are hard.
Is USE_TZ=True in your settings?
I'd highly recommend starting on this
page: https://docs.djangoproject.com/en/dev/topics/i18n/timezones/
Sid
On Thursday, September 18, 2014 9:59:55 AM UTC-4, gh224391 wrote:
>
> hello all,
> i have a form to get a date. But when i get obj
hello all,
i have a form to get a date. But when i get object from the database,
the database is not as expected, user type "18/09/2015", but after
savin, i got: 17/09/2015 22:00
here is the code:
#settings.py
TIME_ZONE = 'Europe/Paris'
#models.py
class MyEvent(models.Model):
dtstart = m
2 matches
Mail list logo