forgot timestamp default format
This commit is contained in:
parent
06a5873908
commit
2c727e2600
1 changed files with 1 additions and 0 deletions
|
@ -171,6 +171,7 @@ func ReplaceMarkdown(content string, noColor bool) string {
|
||||||
case "D":
|
case "D":
|
||||||
return timeObj.Format("2 January 2006")
|
return timeObj.Format("2 January 2006")
|
||||||
case "f":
|
case "f":
|
||||||
|
default:
|
||||||
return timeObj.Format("2 January 2006 15:04")
|
return timeObj.Format("2 January 2006 15:04")
|
||||||
case "F":
|
case "F":
|
||||||
return timeObj.Format("Monday, 2 January 2006 15:04")
|
return timeObj.Format("Monday, 2 January 2006 15:04")
|
||||||
|
|
Loading…
Reference in a new issue