Epic Calendar Plugin for Aardwolf!

Contrast_Picker
Arcidayne 9 years ago
parent 03396bd4f5
commit 19e5ca2f3e

@ -126,7 +126,7 @@ function get_cal(epic)
if offset_utc < 0 then if offset_utc < 0 then
string_offset = "-" .. string.format("%02d",(offset_utc*-1)/3600) .. ":00" string_offset = "-" .. string.format("%02d",(offset_utc*-1)/3600) .. ":00"
else else
string_offset = "+" .. string.format("%02d", math.floor(offset_utc/3600)) .. ":00" string_offset = "%2b" .. string.format("%02d", math.floor(offset_utc/3600)) .. ":00"
end end
local timeMin = os.date("%Y-%m-%dT%I:%M:%S" .. string_offset, os.time()) local timeMin = os.date("%Y-%m-%dT%I:%M:%S" .. string_offset, os.time())

Loading…
Cancel
Save