Forked from
ffbs / ffbs-gluon
4777 commits behind the upstream repository.
-
Matthias Schiffer authoredMatthias Schiffer authored
rfc3339date.lua 169 B
local time = os.time()
local timestamp = os.date('%F %T', time)
local timezone = os.date('%z', time):gsub('^([%+%-]%d%d)(%d%d)$', '%1:%2')
print(timestamp .. timezone)