If we haven't skipped timezone tables generation with SKIP_TZINFO, then we look for the timezone setting in the DEFAULT_TIME_ZONE envvar. If undefined, we look at the commonly used TZ envvar. If still undefined, we default to "+00:00"
If we have skipped timezone tables generation, we look directly at DEFAULT_TIME_ZONE envvar and fall back to default if it contains a non-numeric timezone (e.g. "CET")
Thanks for the PR, Peter! I cherry-picked your commit since there was a bit of a mess with the commits before yours due to some MariaDb regressions and failed attempts to fix them..
--default-time-zone
parameterSKIP_TZINFO
, then we look for the timezone setting in theDEFAULT_TIME_ZONE
envvar. If undefined, we look at the commonly usedTZ
envvar. If still undefined, we default to "+00:00"DEFAULT_TIME_ZONE
envvar and fall back to default if it contains a non-numeric timezone (e.g. "CET")