diff --git a/pkg/mindflow/mindflow.go b/pkg/mindflow/mindflow.go index 14bef3e..327c37e 100644 --- a/pkg/mindflow/mindflow.go +++ b/pkg/mindflow/mindflow.go @@ -41,7 +41,7 @@ func NewPost(category Category, title, body string) (*Post, error) { func (p *Post) PostID() string { name := strings.ToLower(p.Category.Name) name = strings.ReplaceAll(name, " ", ".") - return fmt.Sprint(name, "-", p.Date.Format("20060102-1504")) + return fmt.Sprint(name, "-", p.Date.UTC().Format("20060102-150405")) } type Mindflow interface {