use UTC for new blog posts
This commit is contained in:
parent
21feba10a9
commit
a0581eec7e
|
@ -44,7 +44,7 @@ func ensureDirectory(file string) {
|
|||
}
|
||||
|
||||
func makePostFile(dirsuffix string, title string, content string) string {
|
||||
now := time.Now()
|
||||
now := time.Now().UTC()
|
||||
file := filename(dirsuffix, title, now)
|
||||
ensureDirectory(file)
|
||||
post := post{}
|
||||
|
|
Loading…
Reference in New Issue
Block a user