diff options
author | McCabe Maxsted | 2010-07-14 00:59:31 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-07-15 02:10:13 -0700 |
commit | d5b33852e8cfe310bbc37c8a18f2e91a66a76bb0 (patch) | |
tree | 5f9ae1dc73d90bbafaac2acbcb1a14957ebcbd0d /linden/indra/newview/llviewertexteditor.cpp | |
parent | Fixed #186: View > Web Browser broken (diff) | |
download | meta-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.cpp | 2 |
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; |