Fixed error in parsing dates.
h3rald h3rald@h3rald.com
Sun, 06 Oct 2013 16:51:41 +0200
2 files changed,
1 insertions(+),
1 deletions(-)
M
hastyscribe.nim
→
hastyscribe.nim
@@ -59,7 +59,7 @@ metadata.date = getDateStr()
var date = metadata.date.split('-') -var timeinfo = TTimeInfo(year: date[0].parseInt, month: TMonth(date[1].parseInt), monthday: date[2].parseInt) +var timeinfo = TTimeInfo(year: date[0].parseInt, month: TMonth(date[1].parseInt-1), monthday: date[2].parseInt) let document = """<!doctype html> <html lang="en">