However a quick search didn’t yield any useful results of how to make this work on windows. There are ways to set the system language/timezone, which may make this work on CI, but are not a good idea for local development, because you know you want to have isolation…
Also just setting the timezone to UTC would at least solve the problem on CI, but not the locale issue on local. Also, we explicitly want to test for this behavior!
With github actions we have the possibility now to run on windows, however that fails for two reasons:
Europe/Vienna
, but the windows host has UTCOn unix, we can easily enforce these via env, like so:
https://github.com/eversport/intl-codegen/blob/867a4006f197ddfe2009fb9a32bf6a0b81ddf704/package.json#L21
However a quick search didn’t yield any useful results of how to make this work on windows. There are ways to set the system language/timezone, which may make this work on CI, but are not a good idea for local development, because you know you want to have isolation…
Also just setting the timezone to UTC would at least solve the problem on CI, but not the locale issue on local. Also, we explicitly want to test for this behavior!