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

Unified Diff: lib/i18n/date_format.dart

Issue 10532068: Revert "Remove deprecated classes and functions in Date." (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 | « lib/compiler/implementation/scanner/source_list.dart ('k') | runtime/lib/date.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/i18n/date_format.dart
diff --git a/lib/i18n/date_format.dart b/lib/i18n/date_format.dart
index 1941f604b5a8e48eed4305bddb0f82416ceea4e7..b00e1b1ca133c64d9a3c97fdee63df4ff31cdc23 100644
--- a/lib/i18n/date_format.dart
+++ b/lib/i18n/date_format.dart
@@ -230,8 +230,8 @@ class DateFormat {
* Format the given [date] object according to preset pattern and current
* locale and return a formated string for the given date.
*/
- String format(Date date) {
- // TODO(efortuna): readd optional TimeZone argument (or similar)?
+ String format(Date date, [TimeZone timeZone]) {
+ // TODO(efortuna): optional TimeZone argument? TimeZone is deprecated...
return date.toString();
}
« no previous file with comments | « lib/compiler/implementation/scanner/source_list.dart ('k') | runtime/lib/date.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698