We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code resulted in
Widget _buildDayCalendarTopScroll(BuildContext context) { DateTime now = DateTime.now(); DateTime firstDateOfMonth = DateTime(now.year, now.month, 1); DateTime lastDateOfMonth = DateTime(now.year, now.month + 1, 0); return SizedBox( width: 100.w, child: Container( width: 100.w, child: EasyInfiniteDateTimeLine( firstDate: firstDateOfMonth, lastDate: lastDateOfMonth, focusDate: DateTime.now(), controller: EasyInfiniteDateTimelineController(), locale: 'en_US', ), ), ); }
Duplicated date on November 3rd: Missing the 30th:
If I set the date to March 2025, it's missing 31st
This problem occurs for all daylight saving month/date in the US. The device is in "America/New_York" timezone
The text was updated successfully, but these errors were encountered:
I've ported the above to use the latest v2.0.2's EasyDateTimeLinePicker instead, like below
Widget _buildDayCalendarTopScroll(BuildContext context) { DateTime firstDateOfMonth = DateTime(2025, 3, 1); DateTime lastDateOfMonth = DateTime(2025, 3, 31); return SizedBox( width: 100.w, child: Container( width: 100.w, child: EasyDateTimeLinePicker( focusedDate: DateTime(2025, 3, 1), controller: EasyDatePickerController(), firstDate: firstDateOfMonth, lastDate: lastDateOfMonth, onDateChange: (date) { }, locale: Locale('en', 'US'), itemExtent: 15.w, daySeparatorPadding: 3.w, timelineOptions: TimelineOptions( height: 8.h, ), headerOptions: HeaderOptions( headerType: HeaderType.none, ), ), ), ); }
When I set the month to March 2025, or 2026 it still don't show the 31st. Maybe daylight saving related?
Sorry, something went wrong.
@mingzew Thank you for your feedback. I have just updated the package; you can try again now.
No branches or pull requests
The following code resulted in
Duplicated date on November 3rd:
Missing the 30th:
If I set the date to March 2025, it's missing 31st
This problem occurs for all daylight saving month/date in the US. The device is in "America/New_York" timezone
The text was updated successfully, but these errors were encountered: