django datetime field and timefield provide different times....

16 views
Skip to first unread message

Kenn_ Kiragu

unread,
Sep 20, 2022, 9:39:19 AM9/20/22
to Django users
django datetime field and timefield provide different times when set to auto_now. The datetime field is three hrs behind.. Anyone know what could be causing this?
Screenshot from 2022-09-20 11-09-29.png

Muhammad Juwaini Abdul Rahman

unread,
Sep 20, 2022, 9:55:32 AM9/20/22
to django...@googlegroups.com
Check your timezone in settings.py.

On Tue, 20 Sep 2022 at 21:38, Kenn_ Kiragu <kennk...@gmail.com> wrote:
django datetime field and timefield provide different times when set to auto_now. The datetime field is three hrs behind.. Anyone know what could be causing this?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/46104a05-fe4c-4c56-8c13-1ddd244487d7n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages