hugo/docs/content/en/news/0.87.0-relnotes/index.md
2021-08-03 10:57:26 +00:00

10 KiB


date: 2021-08-03 title: "0.87.0" description: "0.87.0" categories: ["Releases"]

Hugo `0.87` brings two long sought-after features: Default time zone support (per language if needed) for dates without zone offset or location info, and localized time and dates and numbers (backed by [CLDR](https://en.wikipedia.org/wiki/Common_Locale_Data_Repository)).

For more information, see:

  • The time zone config documentation.
  • The time.Format 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

Also in this release, we have switched to using go-toml for all things TOML in Hugo. A big thanks to @pelletier for his work on the v2 version. It's both faster than what we had and TOML v1.0.0 compliant.

This release represents 40 contributions by 4 contributors to the main Hugo code base.@bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @dependabot[bot], @digitalcraftsman, and @jmooring for their ongoing contributions.

Many have also been busy writing and fixing the documentation in hugoDocs, which has received 1 contributions by 1 contributors.

Hugo now has:

Notes

Enhancements

Templates

Other

Fixes

Other