Re: In my django web app i wannt show time in user timezone

2018-12-07 Thread Vovk Donets
>From docs: "...there’s no equivalent of the Accept-Language HTTP header that Django could use to determine the user’s time zone automatically. Instead, Django provides time zone selection functions . Use them to build

Re: In my django web app i wannt show time in user timezone

2018-12-07 Thread thanh . nguyenba0611
Hello, I think you can use "request.META" django. (request.META['TZ']). It is timezone user submit request. :D On Saturday, December 8, 2018 at 8:39:29 AM UTC+7, Deniz Bazan wrote: > > Hello everybody, > I have a django web app, in my app i want to show in the page where the > time informati

In my django web app i wannt show time in user timezone

2018-12-07 Thread Deniz Bazan
Hello everybody, I have a django web app, in my app i want to show in the page where the time information is, with user timezone. I have a form with start_time and end_time(Timefield) user send this with a specific timezone(Berlin/Europa) after this when a user go to the page, the user should s