Skip to content

Commit 17d88f2

Browse files
committed
fix: update calendar selected range (#2123)
1 parent 8f66246 commit 17d88f2

File tree

1 file changed

+2
-3
lines changed
  • frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/cells/date_cell

1 file changed

+2
-3
lines changed

frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/cells/date_cell/date_editor.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ import '../../../../grid/presentation/widgets/common/type_option_separator.dart'
2323
import '../../../../grid/presentation/widgets/header/type_option/date.dart';
2424
import 'date_cal_bloc.dart';
2525

26-
final kToday = DateTime.now();
27-
final kFirstDay = DateTime(kToday.year, kToday.month - 3, kToday.day);
28-
final kLastDay = DateTime(kToday.year, kToday.month + 3, kToday.day);
26+
final kFirstDay = DateTime.utc(1970, 1, 1);
27+
final kLastDay = DateTime.utc(2100, 1, 1);
2928

3029
class DateCellEditor extends StatefulWidget {
3130
final VoidCallback onDismissed;

0 commit comments

Comments
 (0)