change time format to 24h
This commit is contained in:
@@ -36,7 +36,7 @@ func (a *Article) ViewModel() *ArticleViewModel {
|
||||
return &ArticleViewModel{
|
||||
Title: a.Title,
|
||||
Author: a.Author,
|
||||
PublishDate: a.PublishDate.Local().Format("02.01.2006 03:04"),
|
||||
PublishDate: a.PublishDate.Local().Format("02.01.2006 15:04"),
|
||||
SourceUrl: a.SourceUrl,
|
||||
Summary: summary,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user