mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-08 06:45:13 -04:00
Correct typo "RFC339" to "RFC1123Z" (#837)
* Correct typo "RFC339" to "RFC1123Z" Per discussion in PR #887, I added a link to the Go time package documentation that lists constants that can serve as further examples.
This commit is contained in:
parent
424c0207ad
commit
f71b67f34f
@ -87,9 +87,11 @@ date: 2017-03-03T14:15:59-06:00
|
||||
`"Mon, 02 Jan 2006 15:04:05 MST"` (RFC1123)
|
||||
: **Returns**: `Fri, 03 Mar 2017 14:15:59 CST`
|
||||
|
||||
`"Mon, 02 Jan 2006 15:04:05 -0700"` (RFC339)
|
||||
`"Mon, 02 Jan 2006 15:04:05 -0700"` (RFC1123Z)
|
||||
: **Returns**: `Fri, 03 Mar 2017 14:15:59 -0600`
|
||||
|
||||
More examples can be found in Go's [documentation for the time package][timeconst].
|
||||
|
||||
### Cardinal Numbers and Ordinal Abbreviations
|
||||
|
||||
Spelled-out cardinal numbers (e.g. "one", "two", and "three") and ordinal abbreviations (i.e., with shorted suffixes like "1st", "2nd", and "3rd") are not currently supported:
|
||||
@ -121,3 +123,4 @@ In conjunction with the [`dateFormat` function][dateFormat], you can also conver
|
||||
[gdex]: https://golang.org/pkg/time/#example_Time_Format
|
||||
[pagevars]: /variables/page/
|
||||
[time]: https://golang.org/pkg/time/
|
||||
[timeconst]: https://golang.org/pkg/time/#ANSIC
|
||||
|
Loading…
x
Reference in New Issue
Block a user