Hmm i cant seem to get anything to work....
i tried this bit of code changing the strlower part up a few dif ways.
Code:
local previousMinute, timer = -1, -1
Clock:SetScript('OnUpdate', function(self, elapsed)
PM = strlower(pm);
AM = strlower(am);
timer = timer - elapsed
if timer > 0 then return end
timer = 5
server_hour, server_minute = GetGameTime()
if server_minute == previousMinute then return end
previousMinute = server_minute
Time:SetText(("%d:%s"):format(tonumber(date("%I")), date("%M %p")))
if self.tooltip then
OnEnter(self)
end
i also tried > = string.lower("pm")
among other things, including changing the position of that line in the script....