commit e9535961724b3374af710c78323b251db9a298f2
parent a1602efd8047b1b0e6718e8454e27e8d257efa6e
Author: Frederic Cambus <fred@statdns.com>
Date: Mon, 24 Apr 2017 18:50:39 +0200
Fix whitespace issue
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/motyl.lua b/src/motyl.lua
@@ -7,7 +7,7 @@
# https://www.cambus.net/motyl/ #
# #
# Created: 2016-02-16 #
-# Last Updated: 2017-04-20 #
+# Last Updated: 2017-04-24 #
# #
# Motyl is released under the BSD 2-Clause license. #
# See LICENSE file for details. #
@@ -98,7 +98,7 @@ local function render(directory)
status("Rendering " .. data.page.url)
- if directory == "posts" then
+ if directory == "posts" then
local year, month, day, hour, min = data.page.date:match("(%d+)%-(%d+)%-(%d+) (%d+)%:(%d+)")
data.page.datetime = os.date("%c", os.time{year=year, month=month, day=day, hour=hour, min=min})