Yes, Django defaults to storing times in UTC at the database level and do time conversion on the application level. You can override this behavior by adding the TIMEZONE='' config option to your settings/local.py file https://docs.djangoproject.com/en/1.6/ref/settings/#time-zone
>From Mayan EDMS version 1.1 onwards this will not be required as per user timezone support has been added https://github.com/mayan-edms/mayan-edms/issues/114 On Thursday, January 1, 2015 at 11:39:01 AM UTC-4, Thomas Grzybowski wrote: > > > > On Wednesday, December 31, 2014 7:30:14 PM UTC-5, Thomas Grzybowski wrote: >> >> Hi, >> >> I am new to Mayan EDMS. I have installed version 1.0.0, using pip in a >> virtualenv, as per the installation instructions given in the docs in >> "installation.html". One difference: I am using nginx/gunicorn in place of >> the default app server. >> >> As for the setup, I am using the Basic flat date setup (Official). >> Everything seems to be working OK, as far as I can tell, but when I do >> >Documents >Upload new documents, they upload with a time stamp that is >> about 3 hours in the future. I have checked my computer bios time and my >> linux OS system time, and also the results of the python datetime function >> in the virtualenv. All are correct. Any suggestions on how to proceed >> with the debugging? >> > > Now I see that the time stamps in Properties are exactly 5 hours in the > future. As I am in the New York Timezone, I am guessing that the time > stamp is using Greenwich Mean Time (GMT). This is not what I expected. > Can I set this stamp to New York Time? > > > > >> >> Thanks, >> Thomas Grzybowski >> >> -- --- You received this message because you are subscribed to the Google Groups "Mayan EDMS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
