Files
sdk/tests/corelib
Parker Lougheed f2e2c97600 [dart2wasm] Fix DateTime.timeZoneOffset calculation
This use of JS returns the value with the opposite sign of what it should be (in Dart). This is because Dart uses the difference between local time and UTC, while JS uses the opposite.

Also updates the test for this to also accept the longer style of timezone names as that is what Chrome and d8 on my mac are returning. I'm assuming that's why this wasn't caught earlier.

Fixes https://github.com/dart-lang/sdk/issues/54448

CoreLibraryReviewExempt: Specific to dart2wasm backend
Bug: https://github.com/dart-lang/sdk/issues/54448
Change-Id: I54ab721fa33ef638ccd158d08738ca68273a790b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/343520
Reviewed-by: Ömer Ağacan <omersa@google.com>
Auto-Submit: Parker Lougheed <parlough@gmail.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2024-01-03 08:53:48 +00:00
..
2023-03-09 15:14:32 +00:00
2023-03-09 15:14:32 +00:00
2022-12-19 12:56:47 +00:00
2022-12-19 12:56:47 +00:00
2022-12-19 12:56:47 +00:00
2022-12-19 12:56:47 +00:00
2022-12-19 12:56:47 +00:00
2022-05-24 09:10:51 +00:00
2022-05-24 09:10:51 +00:00
2022-05-24 09:10:51 +00:00
2022-12-19 12:56:47 +00:00
2023-01-19 16:24:29 +00:00