Mercurial
>
repos
>
lgen
/ annotate
Search:
summary
shortlog
changelog
graph
tags
bookmarks
branches
files
help
file
latest
revisions
annotate
diff
comparison
raw
time.lua@7667b101cb1e (annotated)
time.lua
Sat, 01 Nov 2014 23:34:21 +0000
author
Tuomo Valkonen <tuomov@iki.fi>
date
Sat, 01 Nov 2014 23:34:21 +0000
changeset 5
7667b101cb1e
parent 3
b2df1b3f2c83
permissions
-rwxr-xr-x
Lua 5.2 compatibility hack
3
b2df1b3f2c83
Improvements
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
1
b2df1b3f2c83
Improvements
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
2
module("time", package.seeall)
b2df1b3f2c83
Improvements
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
3
b2df1b3f2c83
Improvements
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
4
function now_iso()
b2df1b3f2c83
Improvements
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
5
return os.date("!%Y-%m-%dT%H:%M:%SZ")
b2df1b3f2c83
Improvements
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
6
end