24👍
✅
As you are 5.5 hrs ahead of server time, I am assuming, you are in India.
So put appriopriate timezone in settings.py
TIME_ZONE = ‘Asia/Kolkata’
If somewhere else, set accordingly
4👍
3👍
If it is saying that you are 5.5 hours ahead of server time. It means that you are in India then set
TIME_ZONE = 'Asia/Kolkata'
in your setting.py file.
Or check your time zone at
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- Programmatically sync the db in Django
- Django: use render_to_response and set cookie
- Using Django auth User model as a Foreignkey and reverse relations
-8👍
You need to change the time zone settings on your PC and refresh. That is the only way out. I just fixed my own through that.
- Pytest and Django settings runtime changes
- Where is Pip3 Installing Modules?
- Django storage s3 media url is https:// instead of http://
- Django and models with multiple foreign keys
Source:stackexchange.com