Update 0.87.0-relnotes.md

[ci skip]
This commit is contained in:
Bjørn Erik Pedersen 2021-08-03 12:31:41 +02:00 committed by GitHub
parent a5d2632ebb
commit c7fd134625
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,8 +2,8 @@ Hugo `0.86` brings two long sought-after features: Default time zone support (pe
For more information, see:
* [time zone config](https://gohugo.io/getting-started/configuration/#timezone)
* [time.Format](https://gohugo.io/functions/dateformat/) will now give you localized dates (with weekdays and months in the current language). It supports all of Go's layout syntax, but also some predefined constants, e.g. `{{ .Date | time.Format ":date_long" }}`.
* The [time zone config](https://gohugo.io/getting-started/configuration/#timezone) documentation.
* The [time.Format](https://gohugo.io/functions/dateformat/) documentation. This function will now give you localized dates (with weekdays and months in the current language). It supports all of Go's layout syntax, but also some predefined constants, e.g. `{{ .Date | time.Format ":date_long" }}`.
* A set of new [localized number formatting ](https://gohugo.io/functions/lang/)
Also in this release, we have switched to using [go-toml](https://github.com/pelletier/go-toml) for all things TOML in Hugo. A big thanks to [@pelletier](https://github.com/pelletier) for his work on the `v2` version. It's both faster than what we had and [TOML v1.0.0](https://toml.io/en/v1.0.0) compliant.