all repos — hastyscribe @ 00e8f655afbee3ba5824e60c35447f5727087e22

A professional markdown compiler.

Fixed error in parsing dates.
h3rald h3rald@h3rald.com
Sun, 06 Oct 2013 16:51:41 +0200
commit

00e8f655afbee3ba5824e60c35447f5727087e22

parent

4b0b1b189551c32c870ea05d2db666626b64e764

2 files changed, 1 insertions(+), 1 deletions(-)

jump to
M hastyscribe.nimhastyscribe.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">