Re: timezone application aware

2016-05-17 Thread David Alejandro Reyes Milian
I think this will really help you, worked a lot for me!! http://tommikaikkonen.github.io/timezones/ -- 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

Re: timezone application aware

2016-05-17 Thread Simon Charette
Hi Noumia, > Whatever operations they do within the database, all dates will be saved with > timezone, right? Django stores datetimes using the UTC timezone on all database backends. > But how do you identify the timezone of a user? is that something that I > should ask the user for and save

Re: timezone application aware

2016-05-17 Thread Stephen J. Butler
I'm only experienced with the Oracle backend, but I believe only Postgres stores datetimes with timezone information. Otherwise, Django assumes all datetimes in the database are UTC. For the most portability you should assume that database values will be in UTC. The user's local timezone is

timezone application aware

2016-05-17 Thread Noumia Ngangoum
Hi, how really work timezoned application? Let's stay I set my app to be used worldwide, which means I have user in america, in africa, in europe... Whatever operations they do within the database, all dates will be saved with timezone, right? But how do you identify the timezone of a user?