commit 7c9a1223802700bd38d3da3848dd339074ea93e0
parent 33277cb4ae5a28b6284a8907e3ad96219c4fd177
Author: Frederic Cambus <fred@statdns.com>
Date: Tue, 16 May 2017 23:09:26 +0200
Generate a timestamp to populate ATOM feed 'updated' field
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/motyl.lua b/src/motyl.lua
@@ -68,6 +68,7 @@ end
-- Loading configuration
local data = {}
data.version = "Motyl 1.00"
+data.updated = os.date("%Y-%m-%dT%XZ")
data.site = loadYAML("motyl.conf")
data.site.feed = {}
data.site.posts = {}