Update 0.7.5 Hotfix

Arne Rantzen [10-15-16 - 11:48]
Update 0.7.5 Hotfix

Bugfixes
Filename
data/view.lua
diff --git a/data/view.lua b/data/view.lua
index f9538b1..d6324c2 100644
--- a/data/view.lua
+++ b/data/view.lua
@@ -184,14 +184,16 @@ function vi.ParseFormat(year, month, day, hour, minute, second, isLore)
     end

     -- hour
+    -- {0,11} am : {12,11} pm
+    -- {12,1,...,11} am : {12,1,...,11} pm
     if cl.st.IsUSTime() then
         if hour > 12 then
             hour = hour - 12
             am = false
-        else if hour = 12 then
+        elseif hour == 12 then
             am = false
-        else if hour = 0 then
-            hour = 0
+        elseif hour == 0 then
+            hour = 12
             am = true
         else
             am = true