This commit introduces a new rule to check for the usage of time.Date
The rule is added to report the usage of time.Date with non-decimal literals
Here the leading zeros that seems OK, forces the value to be octal literals.
time.Date(2023, 01, 02, 03, 04, 05, 06, time.UTC)
gofumpt formats the code like this when it encounters leading zeroes.
time.Date(2023, 0o1, 0o2, 0o3, 0o4, 0o5, 0o6, time.UTC)
The rule reports anything that is not a decimal literal.