How to change Alfresco TZ ? All my dates are off

cancel
Showing results for 
Search instead for 
Did you mean: 
Paraita
Member II

How to change Alfresco TZ ? All my dates are off

Jump to solution

Hi everyone,

I noticed that all dates (created, modified, etc) are 10 hours late (I'm actually in Pacific/Tahiti so that makes sense) but the host is configured properly with the right timezone.

I have deployed ACS using the docker-installer so I've added the TZ environment variable to every services in the yaml descriptor file but nothing has changed after a `docker-compose down && docker-compose up -d`.

Any idea how I can set the TZ properly ? Am I missing something ?

Regards,

Paraita

1 Solution

Accepted Solutions
kaynezhang
Advanced

Re: How to change Alfresco TZ ? All my dates are off

Jump to solution
you can set the time zone in your host machine then you can map your local time to the container through volume mapping. Like this, volumes: - /etc/localtime:/etc/localtime

View solution in original post

3 Replies
kaynezhang
Advanced

Re: How to change Alfresco TZ ? All my dates are off

Jump to solution
you can set the time zone in your host machine then you can map your local time to the container through volume mapping. Like this, volumes: - /etc/localtime:/etc/localtime
Paraita
Member II

Re: How to change Alfresco TZ ? All my dates are off

Jump to solution

Thanks ! That did the trick Smiley Happy

EddieMay
Alfresco Employee

Re: How to change Alfresco TZ ? All my dates are off

Jump to solution

Hi @Paraita

Thanks for reporting back - really helpful to other users to know what worked.

Best wishes, 

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!