I found the Django time zone setting in the mayan/settings.py file around 
line 43.

I changed
TIME_ZONE = 'America/Puerto_Rico'
to
TIME_ZONE = 'America/Edmonton'

After making this change, and rebooting the VM, the Document Properties 
"Time added" for files still appear to display the time in the wrong 
timezone, i.e., in AST timezone instead of MDT timezone. I have been unable 
to upload a new file to check if the "Time added" property now shows the 
local time when the file was added.

This will make it difficult for users in different time zones to determine 
the temporal relationships between their local files and uploaded file. A 
partial solution might be to add timezone information ot the displayed 
Document Properties "Time added".


On Monday, May 27, 2013 8:27:33 PM UTC-6, Doug Henderson wrote:
>
> I downloaded and installed the VirtualBox Appliance image.
>
> After the first boot, I set the timezone using "dpkg-reconfigure tzdata" 
> and rebooted.
>
> The date command output on the virtual machine now matches date command 
> output on the host machine.
>
> After uploading a file, I viewed the file details, and then Document 
> Properties, where the Date added and Time added are displayed.
>
> The Time added property appears to be displayed with the original timezone 
> of the VM rather than the correct timezone. The original timezone for the 
> VM was AST, which is the local timezone for Puerto Rico. I used 
> dpkg-reconfigure to change the time zone to 'America/Edmonton'.
>
> How do I configure Mayan EDMS server to display time using the timezone 
> configured for the (virtual) server machine?
>
> Can I configure Mayan EDMS to support users from different timezones, so 
> that dates and times will be displayed in the local timezone for each user?
>
> Thanks.
>

-- 

--- 
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/groups/opt_out.


Reply via email to