Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(463)

Unified Diff: runtime/lib/date.dart

Issue 10537086: new Date.now() should be in local timezone. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/corelib/date_time_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/date.dart
diff --git a/runtime/lib/date.dart b/runtime/lib/date.dart
index d39fb8cf92fc4108caf1d4f1583de18d838fc8c2..d9c91ac578965435d96faee83f2d1421d5099063 100644
--- a/runtime/lib/date.dart
+++ b/runtime/lib/date.dart
@@ -22,7 +22,7 @@ class DateImplementation implements Date {
}
DateImplementation.now()
- : _isUtc = true,
+ : _isUtc = false,
value = _getCurrentMs() {
}
« no previous file with comments | « no previous file | tests/corelib/date_time_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698