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

Unified Diff: base/time/time.cc

Issue 2549203002: Add a space before seconds units like all other units. (Closed)
Patch Set: Updated doc. Created 4 years 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 | base/time/time_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/time/time.cc
diff --git a/base/time/time.cc b/base/time/time.cc
index 4e942015fcf578015138c7a824ea65ac6b416b8c..428c555643b713cf77b2c032481c4002c06eb3cf 100644
--- a/base/time/time.cc
+++ b/base/time/time.cc
@@ -126,7 +126,7 @@ int64_t SaturatedSub(TimeDelta delta, int64_t value) {
} // namespace time_internal
std::ostream& operator<<(std::ostream& os, TimeDelta time_delta) {
- return os << time_delta.InSecondsF() << "s";
+ return os << time_delta.InSecondsF() << " s";
}
// Time -----------------------------------------------------------------------
« no previous file with comments | « no previous file | base/time/time_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698