I am building a BlogApp and I am stuck on a Problem.
What i am trying to asking :-
As everybody know that Django provides Time Zone
select feature in settings.py
like
TIME_ZONE = 'Asia/Sanghai'
AND i have made a instance
date = models.DateTimeField(auto_now_add=True)
AND
date_added = models.DateTimeField(null=True,default=timezone.now)
in models.py
So my time is of Asia AND whenever i deploy my webapp and A user from Europe
try to access the webapp and try make a BlogPost, So what will be the time for Europe's User
?
My selected time ( Asia/Sanghai ) ?
OR `Europe's User Time ?
If his/her time will be My selected time
then how can i make it like : When someone visit the site then show time according to User's timezone ?
I have no idea, What will be the timezone when someone try to access the site from different Country
.
Any help would be Appreciated. Thank You in Advance.