mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: idiomatic dow can be 1 character (#4543)
This commit is contained in:
parent
c1433ce38a
commit
ea93f0e141
@ -142,7 +142,7 @@ class _DatePickerState extends State<DatePicker> {
|
||||
calendarBuilders: CalendarBuilders(
|
||||
dowBuilder: (context, day) {
|
||||
final locale = context.locale.toLanguageTag();
|
||||
final label = DateFormat.E(locale).format(day).substring(0, 2);
|
||||
final label = DateFormat.E(locale).format(day);
|
||||
return Padding(
|
||||
padding: const EdgeInsets.only(bottom: 8.0),
|
||||
child: Center(
|
||||
|
Loading…
Reference in New Issue
Block a user