Fixed date format in mindflow.
This commit is contained in:
parent
f366892b59
commit
94482d0aae
@ -39,7 +39,7 @@ templ Mindflow(posts []mindflow.Post, categories []mindflow.Category, r *http.Re
|
||||
<span></span>
|
||||
}
|
||||
{{ ctz := util.ToClientTimezone(post.Date, r) }}
|
||||
<time datetime={ ctz.Format(time.RFC3339) }>{ ctz.Format("01.02.2006 15:04:05 -07:00") }</time>
|
||||
<time datetime={ ctz.Format(time.RFC3339) }>{ ctz.Format("02.01.2006 15:04:05 -07:00") }</time>
|
||||
</footer>
|
||||
</article>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user