I’m trying to use the extended linux client (version 0.92), but I keep getting this error:
+ tar xvfz hugo_extended_0.92.0_Linux-64bit.tar.gz hugo
hugo
+ ./hugo --destination public --baseURL https://drechsel.xyz/
Total in 2 ms
Error: invalid timeZone for language "en": unknown time zone Europe/Berlin
Using the windows client with the same version works fine though.
Since alpine linux has no tzdata preinstalled, the hugo client couldn’t translate the timezone data in config.toml.
After the installation of the tzdata package hugo was able to build the site.
UTC+n and UTC-n where n is 0 to 12 should work in all cases if you can’t add packages to your system. I know that does not much help in cases where the country still has a working summertime difference, but for the rest of the world, it should. I only use UTC+7 instead of Asia/Bangkok - this too makes it easier to read the actual time if anyone ever has to look this up manually and it’s more portable.