In first day of new Year I woudl like to write about Time Zones from perspective of self-hosted apps.
When I deploy self-hosted apps, I encounter question, what value shoudl I set in envioroment variable TZ.
I was not certain what had had set up. With help comes function tzselect(1) in Linux.
I type tzselect function. I was asked to specify location from provided list. In second step I select my country form list.
Now, I know.
TZ='Europe/Warsaw'; export TZ
LINK:
1. https://www.cyberciti.biz/faq/linux-unix-set-tz-environment-variable/
No comments:
Post a Comment