aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewertexteditor.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-07-14 00:59:31 -0700
committerMcCabe Maxsted2010-07-15 02:10:13 -0700
commitd5b33852e8cfe310bbc37c8a18f2e91a66a76bb0 (patch)
tree5f9ae1dc73d90bbafaac2acbcb1a14957ebcbd0d /linden/indra/newview/llviewertexteditor.cpp
parentFixed #186: View > Web Browser broken (diff)
downloadmeta-impy-d5b33852e8cfe310bbc37c8a18f2e91a66a76bb0.zip
meta-impy-d5b33852e8cfe310bbc37c8a18f2e91a66a76bb0.tar.gz
meta-impy-d5b33852e8cfe310bbc37c8a18f2e91a66a76bb0.tar.bz2
meta-impy-d5b33852e8cfe310bbc37c8a18f2e91a66a76bb0.tar.xz
Applied SNOW-629 Fix: Leading zero missing from hour portion of timestamp field in local chat history and log file. Patch by Ardy Lay
Diffstat (limited to 'linden/indra/newview/llviewertexteditor.cpp')
-rw-r--r--linden/indra/newview/llviewertexteditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewertexteditor.cpp b/linden/indra/newview/llviewertexteditor.cpp
index e5e2cd6..832fdd6 100644
--- a/linden/indra/newview/llviewertexteditor.cpp
+++ b/linden/indra/newview/llviewertexteditor.cpp
@@ -1261,7 +1261,7 @@ std::string LLViewerTextEditor::appendTime(bool prepend_newline)
1261 // it's daylight savings time there. 1261 // it's daylight savings time there.
1262 timep = utc_to_pacific_time(utc_time, gPacificDaylightTime); 1262 timep = utc_to_pacific_time(utc_time, gPacificDaylightTime);
1263 1263
1264 std::string text = llformat("[%d:%02d] ", timep->tm_hour, timep->tm_min); 1264 std::string text = llformat("[%02d:%02d] ", timep->tm_hour, timep->tm_min);
1265 appendColoredText(text, false, prepend_newline, LLColor4::grey); 1265 appendColoredText(text, false, prepend_newline, LLColor4::grey);
1266 1266
1267 return text; 1267 return text;