Skip to content

Commit 97614fd

Browse files
authored
Fix issue of timezone config being always overwritten (#463)
1 parent 291b912 commit 97614fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function populatePluginConfigFromEnv(config: PluginConfig, env: NodeJS.ProcessEn
104104
function populateServiceConfigFromEnv(config: ServiceConfig, env: NodeJS.ProcessEnv) {
105105
if (env['BROWSER_TZ']) {
106106
config.rendering.timezone = env['BROWSER_TZ'];
107-
} else {
107+
} else if (env['TZ']) {
108108
config.rendering.timezone = env['TZ'];
109109
}
110110

0 commit comments

Comments
 (0)