forked from kevadesu/forgejo
[CHORE] Add extra testing
- Do more property testing for null values. - Add test for `AbsoluteLong`.
This commit is contained in:
parent
fddde93759
commit
2f8e7a2c67
2 changed files with 16 additions and 6 deletions
|
@ -27,7 +27,7 @@ func (du *DateUtils) AbsoluteShort(time any) template.HTML {
|
|||
|
||||
// AbsoluteLong renders in "January 01, 2006" format
|
||||
func (du *DateUtils) AbsoluteLong(time any) template.HTML {
|
||||
return timeutil.DateTime("short", time)
|
||||
return timeutil.DateTime("long", time)
|
||||
}
|
||||
|
||||
// FullTime renders in "Jan 01, 2006 20:33:44" format
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue