Skip to content

mono_wasm_timezone_get_local_name() throws an unhandled exception #44154

@liorbalmas

Description

@liorbalmas

mono_wasm_timezone_get_local_name throws an unhandled exception when failing to resolve timezone from OS

To Reproduce

Not able to do so now ,as fixed the running server's timezone and didn't notice what it was before.
Point is Intl.DateTimeFormat().resolvedOptions().timeZone might return undefined in some cases and code should expect that.

Exceptions (if any)

unhandled exception

Further technical details

netstandard2.1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions