Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix: idiomatic dow can be 1 character (#4543)

Mathias Mogensenea93f0e141dc
diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/widgets/date_picker/widgets/date_picker.dart b/frontend/appflowy_flutter/lib/workspace/presentation/widgets/date_picker/widgets/date_picker.dart
index e43e2b17b5..843852e70e 100644
--- a/frontend/appflowy_flutter/lib/workspace/presentation/widgets/date_picker/widgets/date_picker.dart
+++ b/frontend/appflowy_flutter/lib/workspace/presentation/widgets/date_picker/widgets/date_picker.dart
@@ -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(