Found the cause of this behavior and fixed it in the development branch (https://gitlab.com/mayan-edms/mayan-edms/commit/2c9a01bdfc3f2393e238e264f4079aec4748a142), the fix will be included in the next release, version 2.1. Thanks for reporting this.
On Monday, February 29, 2016 at 10:06:16 AM UTC-4, LeVon Smoker wrote: > > I have both TIME_ZONE in my settings file and my logged-in user's Locale > profile set to America/New_York, but newly uploaded documents still display > the date in UTC. > > LeVon S > > On Saturday, February 27, 2016 at 6:45:31 PM UTC-5, Roberto Rosario wrote: >> >> Internally every date and time is stored in UTC and shown in the >> currently logged user's timezone. The user's timezone is setup via their >> individual preferences. >> >> If you just want to show all dates and times in a specific timezone then >> I think setting the TIME_ZONE variable should be enough, but I have not >> tested that. If it does work then an update would needed to use the value >> of the TIME_ZONE variable as default is the user has not selected one. Is >> this the behavior you are expecting? >> On Feb 18, 2016 1:05 PM, "LeVon Smoker" <[email protected]> wrote: >> >>> Why does the 'Date added' field show in UTC when viewing a document's >>> properties, but show in local time when viewing the document rows through >>> the admin interface? I'd like both to show in my local time which I have >>> set in mayan/settings/local.py with TIME_ZONE = 'America/New_York' >>> >>> Thanks. >>> >>> LeVon S. >>> >>> -- >>> >>> --- >>> 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. >>> >> -- --- 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.
