If you are new to Docker or this application our issue tracker is ONLY used for reporting bugs or requesting features. Please use our discord server for general support.
No matter how I set the TZ environment variable, or set the timezone in php.ini, Grocy doesn't respect it for timestamps.
Expected Behavior
When I set TZ to Australia/Melbourne, and I adjust stock/consume stock, the journal timestamps should read accurate time.
Current Behavior
Timestamps in the stock journal for all products are being inserted as UTC time. For example, If I consume one stock item, the timestamp for that consumption says "10 hours ago".
Steps to Reproduce
Set TZ to "Australia/Melbourne"
Consume a stock item
Check stock journal
Note the timestamp is not accurate
Environment
OS: CentOS 7
CPU architecture: x86_64
How docker service was installed:
Installed with Portainer, pulled the latest image from this repo, and configured environment variables appropriately as per the README.md
Command used to create docker container (run/create/compose/screenshot)
Docker logs
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.,
[s6-init] ensuring user provided files have correct perms...exited 0.,
[fix-attrs.d] applying ownership & permissions fixes...,
[fix-attrs.d] done.,
[cont-init.d] executing container initialization scripts...,
[cont-init.d] 01-envfile: executing... ,
[cont-init.d] 01-envfile: exited 0.,
[cont-init.d] 10-adduser: executing... ,
usermod: no changes,
,
-------------------------------------,
_ (),
| | ___ _ __,
| | / __| | | / \ ,
| | \__ \ | | | () |,
|_| |___/ |_| \__/,
,
,
Brought to you by linuxserver.io,
We gratefully accept donations at:,
https://www.linuxserver.io/donate/,
-------------------------------------,
GID/UID,
-------------------------------------,
,
User uid: 911,
User gid: 911,
-------------------------------------,
,
[cont-init.d] 10-adduser: exited 0.,
[cont-init.d] 20-config: executing... ,
[cont-init.d] 20-config: exited 0.,
[cont-init.d] 30-keygen: executing... ,
using keys found in /config/keys,
[cont-init.d] 30-keygen: exited 0.,
[cont-init.d] 50-config: executing... ,
[cont-init.d] 50-config: exited 0.,
[cont-init.d] 99-custom-files: executing... ,
[custom-init] no custom files found exiting...,
[cont-init.d] 99-custom-files: exited 0.,
[cont-init.d] done.,
[services.d] starting services,
[services.d] done.,
Edit: I accidentally closed & reopened issue. Please disregard that.
Edit: I understand I should probably be using Discord to discuss this issue. I will close this issue now. My apologies for the inconvenience.
If you are new to Docker or this application our issue tracker is ONLY used for reporting bugs or requesting features. Please use our discord server for general support.
No matter how I set the TZ environment variable, or set the timezone in php.ini, Grocy doesn't respect it for timestamps.
Expected Behavior
When I set TZ to Australia/Melbourne, and I adjust stock/consume stock, the journal timestamps should read accurate time.
Current Behavior
Timestamps in the stock journal for all products are being inserted as UTC time. For example, If I consume one stock item, the timestamp for that consumption says "10 hours ago".
Steps to Reproduce
Environment
OS: CentOS 7 CPU architecture: x86_64 How docker service was installed:
Installed with Portainer, pulled the latest image from this repo, and configured environment variables appropriately as per the README.md
Command used to create docker container (run/create/compose/screenshot)
Docker logs
Edit: I accidentally closed & reopened issue. Please disregard that.
Edit: I understand I should probably be using Discord to discuss this issue. I will close this issue now. My apologies for the inconvenience.