From 9f603cef97d5436cc3a055216ee417068674e3d6 Mon Sep 17 00:00:00 2001
From: Paul Guslisty <pguslisty@productengine.com>
Date: Fri, 27 Nov 2009 18:50:43 +0200
Subject: [PATCH] fixed normal bug EXT-2738. 12-hour clock format should not
 have a leading zero

--HG--
branch : product-engine
---
 indra/llcommon/llstring.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/llcommon/llstring.cpp b/indra/llcommon/llstring.cpp
index c027aa7bdd5..3030ae2c8b8 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
-- 
GitLab