cancel
Showing results for 
Search instead for 
Did you mean: 

How to change Alfresco TZ ? All my dates are off

Paraita
Champ in-the-making
Champ in-the-making

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 ACCEPTED ANSWER

kaynezhang
World-Class Innovator
World-Class Innovator
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 answer in original post

3 REPLIES 3

kaynezhang
World-Class Innovator
World-Class Innovator
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
Champ in-the-making
Champ in-the-making

Thanks ! That did the trick Smiley Happy

EddieMay
World-Class Innovator
World-Class Innovator

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!