flutter/dev/tools
Victor Sanni ceeeb7d090
Use correct locale for CupertinoDatePicker weekday (#151494)
#120052 introduces the `showDayOfWeek` flag to `CupertinoDatePicker` for mode `CupertinoDatePickerMode.date`, but the default `en` locale from `DefaultCupertinoLocalizations` is always used for the day of the week:

5103d75743/packages/flutter_localizations/lib/src/cupertino_localizations.dart (L116-L119)

This PR introduces a new `intl.DateFormat` `weekdayFormat` to replace the default with the abbreviated weekday for any supported locales.

| Before | After | 
| --- | --- |
|  <img width="379" alt="Screenshot 2024-07-09 at 5 08 43 PM" src="https://github.com/flutter/flutter/assets/77553258/d6899c6b-bd0a-4484-a6a8-3ef1512aeae1">  |  <img width="379" alt="Screenshot 2024-07-09 at 5 08 11 PM" src="https://github.com/flutter/flutter/assets/77553258/f320c634-80d1-4f3b-adfd-ed85a9dfc3f6"> |

Fixes #141875
2024-07-11 00:10:17 +00:00
..
bin Let the lockfile script generate lockfiles for kotlin gradle files as well (#150471) 2024-06-20 20:22:18 +00:00
gen_defaults Roll pub packages (#151492) 2024-07-09 22:47:35 +00:00
gen_keycodes Roll pub packages (#151492) 2024-07-09 22:47:35 +00:00
localization Use correct locale for CupertinoDatePicker weekday (#151494) 2024-07-11 00:10:17 +00:00
test Remove master from API docs (#144425) 2024-03-01 01:06:56 +00:00
vitool Roll pub packages (#151492) 2024-07-09 22:47:35 +00:00
.gitignore [flutter_conductor] update dev/tools with release tool (#69791) 2020-11-06 11:14:04 -08:00
create_api_docs.dart Move snippets package back into flutter repo (#147690) 2024-05-03 06:09:03 +00:00
dartdoc_checker.dart Add info strings to code blocks. (#146085) 2024-04-01 14:05:16 -07:00
examples_smoke_test.dart Implementing control flow collections (#146601) 2024-04-15 16:06:07 +00:00
find_engine_commit.dart begin migrating //flutter/dev/tools to null-safety (#80834) 2021-04-23 20:24:03 -07:00
mega_gallery.dart Implementing a few switch statements (#150946) 2024-07-01 23:36:32 +00:00
pubspec.yaml Roll pub packages (#151492) 2024-07-09 22:47:35 +00:00
repackage_gradle_wrapper.sh Point to a new artifacts location. (#70673) 2021-02-04 18:44:47 -08:00
update_icons.dart Update old wiki links (#149544) 2024-06-17 17:26:08 +00:00