Re: How to set timezone in Django.

2019-07-10 Thread agent smith
Am Mittwoch, 10. Juli 2019 00:00:16 UTC+13 schrieb Paul Gureghian: > > Specifically in the official 'polls' tutorial from the docs. > > In the 'mysite.settings.py' file. I changed from 'UTC' to 'PST' and > 'pst' and both faulted. thanks. > -- You received this message because you are sub

Re: How to set timezone in Django.

2019-07-09 Thread Paul Gureghian
I used "America / Los_Angeles , and it worked. thanks On Tuesday, July 9, 2019 at 1:43:20 PM UTC-7, M. A wrote: > > 'PST' is not available in pytz > > The Pacific available timezones are : > > 'PST8PDT' > 'Pacific/Apia' > 'Pacific/Auckland' > 'Pacific/Bougainville' > 'Pacific/Chatham' > 'Pacific

Re: How to set timezone in Django.

2019-07-09 Thread M. A
'PST' is not available in pytz The Pacific available timezones are : 'PST8PDT' 'Pacific/Apia' 'Pacific/Auckland' 'Pacific/Bougainville' 'Pacific/Chatham' 'Pacific/Chuuk' 'Pacific/Easter' 'Pacific/Efate' 'Pacific/Enderbury' 'Pacific/Fakaofo' 'Pacific/Fiji' 'Pacific/Funafuti' 'Pacific/Galapagos' 'P

Re: How to set timezone in Django.

2019-07-09 Thread Mike Dewhirst
UTC is a unique timezone independent of any country. It is associated exclusively with zero degrees of longitude. It means universal constant time. You need to research the correct standard code for the timezone you are interested in. Connected by Motorola Paul Gureghian wrote: >Specifical

How to set timezone in Django.

2019-07-09 Thread Paul Gureghian
Specifically in the official 'polls' tutorial from the docs. In the 'mysite.settings.py' file. I changed from 'UTC' to 'PST' and 'pst' and both faulted. thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this gro