mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-09 09:34:49 +09:00
[wasm] Introduce <InvariantTimezone> build flag (#87284)
This commit is contained in:
parent
e80ef8638b
commit
d388585aa4
19 changed files with 220 additions and 41 deletions
16
docs/design/features/timezone-invariant-mode.md
Normal file
16
docs/design/features/timezone-invariant-mode.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Timezone Invariant Mode
|
||||
|
||||
Author: [Pavel Savara](https://github.com/pavelsavara)
|
||||
|
||||
It's currently only available for Browser OS.
|
||||
The timezone database is not part of the browser environment (as opposed to other operating systems).
|
||||
Therefore dotnet bundles the timezone database as binary as part of the runtime.
|
||||
That makes download size larger and application startup slower.
|
||||
If your application doesn't need to work with time zone information, you could use this feature to make the runtime about 200KB smaller.
|
||||
|
||||
You enable it in project file:
|
||||
```xml
|
||||
<PropertyGroup>
|
||||
<InvariantTimezone>true</InvariantTimezone>
|
||||
</PropertyGroup>
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue