We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0079058 commit e8dade6Copy full SHA for e8dade6
src/Components/Web.JS/src/Platform/Mono/MonoPlatform.ts
@@ -425,7 +425,7 @@ function createEmscriptenModuleInstance(resourceLoader: WebAssemblyResourceLoade
425
try {
426
timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
427
} catch { }
428
- MONO.mono_wasm_setenv("TZ", timeZone);
+ MONO.mono_wasm_setenv("TZ", timeZone || "UTC");
429
// Turn off full-gc to prevent browser freezing.
430
const mono_wasm_enable_on_demand_gc = cwrap('mono_wasm_enable_on_demand_gc', null, ['number']);
431
mono_wasm_enable_on_demand_gc(0);
0 commit comments