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

Unified Diff: chrome/browser/ui/views/ash/screenshot_taker.cc

Issue 10386219: Rename the screenshot file again, much more friendly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | « no previous file | chrome/browser/ui/webui/feedback_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/ash/screenshot_taker.cc
diff --git a/chrome/browser/ui/views/ash/screenshot_taker.cc b/chrome/browser/ui/views/ash/screenshot_taker.cc
index ed2e6c1ae90e81ab809334c299a9a729b475c697..ff60bf702dc4d7571f94f99959f919c1f1193d12 100644
--- a/chrome/browser/ui/views/ash/screenshot_taker.cc
+++ b/chrome/browser/ui/views/ash/screenshot_taker.cc
@@ -52,7 +52,7 @@ std::string GetScreenshotFileName(bool use_24hour_clock) {
// for non-English locales.
// TODO(mukai): integrate this logic somewhere time_formatting.h
std::string file_name = base::StringPrintf(
- "Screenshot_%d-%02d-%02d_", now.year, now.month, now.day_of_month);
+ "Screenshot %d-%02d-%02d ", now.year, now.month, now.day_of_month);
if (use_24hour_clock) {
file_name.append(base::StringPrintf(
@@ -65,7 +65,7 @@ std::string GetScreenshotFileName(bool use_24hour_clock) {
hour = 12;
}
file_name.append(base::StringPrintf(
- "%02d:%02d:%02d_", hour, now.minute, now.second));
+ "%d:%02d:%02d ", hour, now.minute, now.second));
file_name.append((now.hour >= 12) ? "PM" : "AM");
file_name.append(".png");
}
« no previous file with comments | « no previous file | chrome/browser/ui/webui/feedback_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698