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

Unified Diff: samples/time/time_server.dart

Issue 11770004: Rename Date to DateTime. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and keep Backwards-compatibility class Date. Created 7 years, 11 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
Index: samples/time/time_server.dart
diff --git a/samples/time/time_server.dart b/samples/time/time_server.dart
index 1a872f02c38a98d796c0cc1ad1c17d3d7ebf8deb..067d05eef790c58654c2ab2e5c6e9e707c7b9c6f 100644
--- a/samples/time/time_server.dart
+++ b/samples/time/time_server.dart
@@ -47,7 +47,7 @@ String createHtmlResponse() {
</style>
<body>
<br/><br/>
- <p>Current time: ${new Date.now()}</p>
+ <p>Current time: ${new DateTime.now()}</p>
</body>
</html>
''';
« no previous file with comments | « samples/third_party/dromaeo/tests/RunnerSuite.dart ('k') | sdk/lib/_internal/compiler/implementation/lib/core_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698