diff --git a/doc/go1.20.html b/doc/go1.20.html index c61d308088..5fadb3e3aa 100644 --- a/doc/go1.20.html +++ b/doc/go1.20.html @@ -186,12 +186,6 @@ Do not send CLs removing the interior tags from such phrases.

Vet

-

New diagnostic for incorrect time formats

- -

- TODO: https://go.dev/issue/48801: check for time formats with 2006-02-01 -

-

Improved detection of loop variable capture by nested functions

@@ -208,6 +202,17 @@ Do not send CLs removing the interior tags from such phrases. inspects the last statements within if, switch, and select statements.

+

New diagnostic for incorrect time formats

+ +

+ The vet tool now reports use of the time format 2006-02-01 (yyyy-dd-mm) + with Time.Format and + time.Parse. + This format does not appear in common date standards, but is frequently + used by mistake when attempting to use the ISO 8601 date format + (yyyy-mm-dd). +

+

Runtime