Merge branch 'datetime-f-fmt'

Add support for %F (ISO 8601 date) format specifier to wxDateTime.

See #24175.
This commit is contained in:
Vadim Zeitlin 2024-01-10 18:44:30 +01:00
commit 5dac42edc0
2 changed files with 26 additions and 4 deletions

View file

@ -684,6 +684,7 @@ void DateTimeTestCase::TestTimeFormat()
{ CompareYear, "Date is %x, time is %X" }, // %x could use 2 digits
{ CompareTime, "Time is %H:%M:%S or %I:%M:%S %p" },
{ CompareNone, "The day of year: %j, the week of year: %W" },
{ CompareDate, "ISO date using short form: %F" },
{ CompareDate, "ISO date without separators: %Y%m%d" },
{ CompareBoth, "RFC 2822 string: %Y-%m-%d %H:%M:%S.%l %z" },