changed date format

This commit is contained in:
Jacob 2022-06-02 20:41:16 +02:00
parent ca087531e3
commit a4805942ac

View File

@ -20,7 +20,7 @@ type Post struct {
} }
const htmlDateLayout = "2006-01-02" const htmlDateLayout = "2006-01-02"
const normalDateLayout = "02 Jan 2006" const normalDateLayout = "02 Jan - 06"
var modTime time.Time var modTime time.Time
func newPost(path string, f os.FileInfo, err error) error { func newPost(path string, f os.FileInfo, err error) error {