diff --git a/Epic_Calendar/Epic_Calendar.xml b/Epic_Calendar/Epic_Calendar.xml index 5b77ecc..e79583d 100644 --- a/Epic_Calendar/Epic_Calendar.xml +++ b/Epic_Calendar/Epic_Calendar.xml @@ -126,7 +126,7 @@ function get_cal(epic) if offset_utc < 0 then string_offset = "-" .. string.format("%02d",(offset_utc*-1)/3600) .. ":00" 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 local timeMin = os.date("%Y-%m-%dT%I:%M:%S" .. string_offset, os.time())