More chrono padding (#4161)

* Add padding modifier to day of year, duration's remains unpadded
* Add padding modifier for %m, %Y
This commit is contained in:
Khanh H
2024-09-18 09:27:45 -07:00
committed by GitHub
parent 55a0a9cd62
commit ed8f8be70d
3 changed files with 76 additions and 39 deletions

View File

@ -711,7 +711,7 @@ The available padding modifiers (*padding_modifier*) are:
| `'0'` | Pad a numeric result string with zeros. |
These modifiers are only supported for the `'H'`, `'I'`, `'M'`, `'S'`, `'U'`,
`'V'` and `'W'` presentation types.
`'V'`, `'W'`, `'m'`, `'j'`, `'Y'` presentation types.
## Range Format Specifications