mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 22:01:19 +00:00
fb057ea4e0
- Move DateTime implementation for dart2js and DDC into a shared place to reduce duplication. - Add a _microsecond field to the web DateTime to track microseconds outside of the JavaScript Date. - The cute dart2js optimization whereby `DateTime.now().millisecondsSinceEpoch` is compiled to `Date.now()` still works. - Both implementations report better errors. - Fixed VM bug with in-range sentinel. Change-Id: I9156255bdb6ecc195500ae9bc88f91fb315b6297 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/366963 Reviewed-by: Alexander Aprelev <aam@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> Reviewed-by: Lasse Nielsen <lrn@google.com> Commit-Queue: Stephen Adams <sra@google.com> |
||
---|---|---|
.. | ||
bin | ||
lib | ||
.gitignore | ||
api_readme.md | ||
BUILD.gn | ||
OWNERS |