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

Unified Diff: sdk/lib/_internal/dartdoc/lib/dartdoc.dart

Issue 11770004: Rename Date to DateTime. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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: sdk/lib/_internal/dartdoc/lib/dartdoc.dart
diff --git a/sdk/lib/_internal/dartdoc/lib/dartdoc.dart b/sdk/lib/_internal/dartdoc/lib/dartdoc.dart
index 772e9d0c64a3727a768461f6c3d4cf7fa1d8b1b7..f1620d010ed93d66b120661102986a29bc2e0ab7 100644
--- a/sdk/lib/_internal/dartdoc/lib/dartdoc.dart
+++ b/sdk/lib/_internal/dartdoc/lib/dartdoc.dart
@@ -306,7 +306,7 @@ class Dartdoc {
String get footerContent{
var footerItems = [];
if (!omitGenerationTime) {
- footerItems.add("This page was generated at ${new Date.now()}");
+ footerItems.add("This page was generated at ${new DateTime.now()}");
}
if (footerText != null) {
footerItems.add(footerText);
@@ -1827,7 +1827,7 @@ class Dartdoc {
}
startFile('appcache.manifest');
write("CACHE MANIFEST\n\n");
- write("# VERSION: ${new Date.now()}\n\n");
+ write("# VERSION: ${new DateTime.now()}\n\n");
write("NETWORK:\n*\n\n");
write("CACHE:\n");
var toCache = new Directory.fromPath(outputDir);

Powered by Google App Engine
This is Rietveld 408576698