summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Bennetts <steve@lindenlab.com>2009-11-29 22:13:32 -0800
committerSteve Bennetts <steve@lindenlab.com>2009-11-29 22:13:32 -0800
commit3eb48e40151f386e604dc19c54d6761c3c19fa8b (patch)
tree56f9630264bd84bb831c562257b7add4d8e4431c
parenta7549d6fe5b36b447f7e6f58387711576f9c2f63 (diff)
Fix for Windows crash (incorrect date format crashes windows)
-rw-r--r--indra/llcommon/llstring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llstring.cpp b/indra/llcommon/llstring.cpp
index 3030ae2c8b..c027aa7bdd 100644
--- a/indra/llcommon/llstring.cpp
+++ b/indra/llcommon/llstring.cpp
@@ -717,7 +717,7 @@ void LLStringOps::setupDatetimeInfo (bool daylight)
datetimeToCodes["day"] = "%d"; // 31
datetimeToCodes["hour24"] = "%H"; // 14
datetimeToCodes["hour"] = "%H"; // 14
- datetimeToCodes["hour12"] = "%l"; // 02
+ datetimeToCodes["hour12"] = "%I"; // 02
datetimeToCodes["min"] = "%M"; // 59
datetimeToCodes["ampm"] = "%p"; // AM
datetimeToCodes["second"] = "%S"; // 59