blog style improvements; fix connection pool drain

This commit is contained in:
ari melody 2025-11-08 18:42:02 +00:00
parent 0a75216aaf
commit 1d98a6fdca
Signed by: ari
GPG key ID: CF99829C92678188
8 changed files with 51 additions and 24 deletions

View file

@ -51,7 +51,11 @@ func (b *BlogPost) GetMonth() string {
}
func (b *BlogPost) PrintDate() string {
return b.PublishDate.Format("2 January 2006, 15:04")
return b.PublishDate.Format("02 January 2006, 15:04")
}
func (b *BlogPost) PrintShortDate() string {
return b.PublishDate.Format("2 Jan 2006")
}
func (b *BlogPost) TextPublishDate() string {