Added the pull request from Rain288 concerning the clock fix
michael favel-guidet [08-09-16 - 14:10]
Added the pull request from Rain288 concerning the clock fix
diff --git a/modules/clock.lua b/modules/clock.lua
index 80c17a3..d24690b 100644
--- a/modules/clock.lua
+++ b/modules/clock.lua
@@ -52,7 +52,9 @@ clockFrame:SetScript('OnUpdate', function(self, e)
else
if hour > 12 then
hour = hour - 12
- hour = ("0"..hour)
+ if hour <10 then
+ hour = ("0"..hour)
+ end
AmPmTimeText = "PM"
else
AmPmTimeText = "AM"