time.lua

Fri, 17 Jul 2020 10:00:47 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Fri, 17 Jul 2020 10:00:47 -0500
changeset 30
3ac53da03439
parent 3
b2df1b3f2c83
permissions
-rw-r--r--

Support loading TEMPLATE_PATH/katex_config.json.

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

mercurial