Merge commit 'f96384a3b596f9bc0a3a035970b09b2c601f0ccb'

This commit is contained in:
Bjørn Erik Pedersen
2023-05-22 16:47:07 +02:00
341 changed files with 3107 additions and 4238 deletions

View File

@@ -61,13 +61,13 @@ Spelled-out cardinal numbers (e.g. "one", "two", and "three") and ordinal abbrev
To continue with the example above:
```go-html-template
{{.Date.Format "Jan 2nd 2006"}}
{{ .Date.Format "Jan 2nd 2006" }}
```
Hugo assumes you want to append `nd` as a string to the day of the month and outputs the following:
```txt
Mar 3nd 2017
Mar 2nd 2017
```
### Use `.Local` and `.UTC`