dingoblog / dingo

Blog engine written in Go
MIT License
284 stars 37 forks source link

Error: 500 Internal Server Error #82

Closed idyllim closed 6 years ago

idyllim commented 6 years ago
  1. View article, throws exception : 20180204214241
  2. URL: $domain/pages/ , Click the delete button on an article, It's unwork.
bentranter commented 6 years ago

I think this is the infamous Go double timezone offset issue (see https://github.com/golang/go/issues/11712 and https://stackoverflow.com/questions/43264783/golang-time-time-zone-showing-twice). The time formatting code can't handle the duplicate time zone string. I'll keep looking into it.

bentranter commented 6 years ago

Nvm, it just panics when it tries to format a nil date. Will open a PR soon.