Update description of the humanize ordinal conversion

This commit is contained in:
Joe Mooring
2023-12-14 08:37:32 -08:00
committed by GitHub
parent b8b4ccb6f4
commit 8945be9c64
+1 -1
View File
@@ -18,7 +18,7 @@ aliases: [/functions/humanize]
{{ humanize "myCamelPost" }} → My camel post
```
If the input is either an int64 value or the string representation of an integer, humanize returns the number with the proper ordinal appended.
If the input is an integer or a string representation of an integer, humanize returns the number with the proper ordinal appended.
```go-html-template
{{ humanize "52" }} → 52nd