time_machine
time_machine copied to clipboard
en_GB culture file doesn't include day of week in its long format date pattern
The en_GB culture file doesn't include the day of the week in its long date format:
print(LocalDate.today().toString('D', await Cultures.getCulture('en-US')));
> Friday, September 13, 2019
print(LocalDate.today().toString('D', await Cultures.getCulture('en-AU')));
> Friday, 13 September 2019
print(LocalDate.today().toString('D', await Cultures.getCulture('en-GB')));
> 13 September 2019
en_GB.bin
has dd MMMM yyyy
vs dddd, MMMM d, yyyy
in en-US.bin
.
Just wondering if that's an oddity in the data source that the culture file is generated from, or might indicate a problem with the conversion process? Based on ICU locales I'd expect day to be include in the GB locale too (see e.g. http://www.localeplanet.com/icu/en-GB/)