diff --git a/lib/src/pluto_grid_date_picker.dart b/lib/src/pluto_grid_date_picker.dart index 21bd1f854..ce7e8f84c 100644 --- a/lib/src/pluto_grid_date_picker.dart +++ b/lib/src/pluto_grid_date_picker.dart @@ -221,8 +221,8 @@ class PlutoGridDatePicker { currentMonth = offsetDate.month; final List days = PlutoDateTimeHelper.getDaysInBetween( - DateTime(offsetDate.year, offsetDate.month, 1), - DateTime(offsetDate.year, offsetDate.month + 1, 0), + DateTime.utc(offsetDate.year, offsetDate.month, 1), + DateTime.utc(offsetDate.year, offsetDate.month + 1, 0), ); final popupRows = _buildRows(days);