summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorPaul Guslisty <pguslisty@productengine.com>2009-11-27 18:50:43 +0200
committerPaul Guslisty <pguslisty@productengine.com>2009-11-27 18:50:43 +0200
commit9f603cef97d5436cc3a055216ee417068674e3d6 (patch)
treec343eafa0d8d3d88e4d7575408df2945a6fbac8e /indra
parentc9c0552b1262ad892e6b0038c7a62bdc3d0757ca (diff)
fixed normal bug EXT-2738. 12-hour clock format should not have a leading zero
--HG-- branch : product-engine
Diffstat (limited to 'indra')
-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 c027aa7bdd..3030ae2c8b 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"] = "%I"; // 02
+ datetimeToCodes["hour12"] = "%l"; // 02
datetimeToCodes["min"] = "%M"; // 59
datetimeToCodes["ampm"] = "%p"; // AM
datetimeToCodes["second"] = "%S"; // 59