add date formats found in jekyll posts

The first added is definitely in jekyll. The second, I believe, happens,
too.
This commit is contained in:
Jeff Hodges 2015-08-01 19:34:06 -07:00
parent 4d07383ffe
commit 4d1d33f2b5
1 changed files with 2 additions and 0 deletions

View File

@ -365,6 +365,8 @@ func StringToDate(s string) (time.Time, error) {
"02 Jan 06 15:04 MST", "02 Jan 06 15:04 MST",
"2006-01-02", "2006-01-02",
"02 Jan 2006", "02 Jan 2006",
"2006-01-02 15:04:05 -07:00",
"2006-01-02 15:04:05 -0700",
}) })
} }