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

Unified Diff: chrome/common/time_format.h

Issue 10918274: chrome://downloads updateDateDisplay more often (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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 | « chrome/browser/resources/downloads/downloads.js ('k') | chrome/common/time_format.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/time_format.h
diff --git a/chrome/common/time_format.h b/chrome/common/time_format.h
index 16215dc2bf0373172ee80df73c83e3b995de9d28..fc45e18fc70f7c9985c38ad463984e3c6f051e03 100644
--- a/chrome/common/time_format.h
+++ b/chrome/common/time_format.h
@@ -31,7 +31,8 @@ class TimeFormat {
static string16 TimeRemainingShort(const base::TimeDelta& delta);
// For displaying a relative time in the past. This method returns either
- // "Today", "Yesterday", or an empty string if it's older than that.
+ // "Today", "Yesterday", or an empty string if it's older than that. Returns
+ // the empty string for days in the future.
//
// TODO(brettw): This should be able to handle days in the future like
// "Tomorrow".
« no previous file with comments | « chrome/browser/resources/downloads/downloads.js ('k') | chrome/common/time_format.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698