Slide 28
Slide 28 text
Copyright © 2023 ANDPAD Inc.
check for calls of (time.Time).Format or time.Parse with 2006-02-01
昔から存在はしていましたが、 default 実⾏リストに仲間⼊り。
time.Formatに指定できるのは 2006-01-02 ですよ、というものです。
2006-02-02 や 2006-01-01 は検出してくれないのが微妙な感あります。
t := time.Date(2024, 3, 18, 0, 0, 0, 0, time.Local)
fmt.Println(t.Format("2006-01-02")) // ok
fmt.Println(t.Format("2006-02-01")) // ng
timeformat
28
timeformat defaultJoin! ※リリースノート記載なし