summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/dateformat.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/dateformat.md')
-rw-r--r--docs/content/en/functions/dateformat.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/content/en/functions/dateformat.md b/docs/content/en/functions/dateformat.md
index 362efabd3..7a16e80b2 100644
--- a/docs/content/en/functions/dateformat.md
+++ b/docs/content/en/functions/dateformat.md
@@ -22,7 +22,7 @@ deprecated: false
{{ time.Format "Monday, Jan 2, 2006" "2015-01-21" }} → "Wednesday, Jan 21, 2015"
```
-Note that since Hugo 0.87.0, `time.Format` will return a localized string for the current language. {{< new-in "0.87.0" >}}
+`time.Format` returns a localized string for the current language.
The `LAYOUT` string can be either:
@@ -34,9 +34,7 @@ See the [`time` function](/functions/time/) to convert a timestamp string to a G
## Date/time formatting layouts
-{{< new-in "0.87.0" >}}
-
-Go's date layout strings can be hard to reason about, especially with multiple languages. Since Hugo 0.87.0 you can alternatively use some predefined layout identifiers that will output localized dates or times:
+Go's date layout strings can be hard to reason about, especially with multiple languages. You can alternatively use some predefined layout identifiers that will output localized dates or times:
```go-html-template
{{ .Date | time.Format ":date_long" }}