Content deleted Content added
BrandonXLF (talk | contribs) No edit summary |
BrandonXLF (talk | contribs) No edit summary |
||
Line 240:
return dst_begin, dst_end, invert;
end▼
return {['year'] = year, ['month'] = month, ['day'] = day, ['hour'] = hour, ['min'] = minute, ['sec'] = second};▼
end
Line 458 ⟶ 440:
if is_set (args.time_test) or is_set (args._TEST_TIME_) then -- typically used to test the code at a specific utc time
if
args.test_time = args._TEST_TIME_
return error_msg ('test_time');▼
▲ end
▲
local i = 1
for val in string.gmatch(args.test_time, "-") do
arguments[i] = val
end
utc_timestamp = os.time(
else
utc_timestamp = os.time (); -- get current server time (UTC)
|