Skip to content

fix: update intl dependency and fix JewishCalendar.initDate constructor #51

New issue

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yosefor
Copy link

@yosefor yosefor commented May 26, 2025

Summary

This PR resolves the dependency conflict with Flutter 3.32.0 and fixes a broken constructor that was causing test failures.

Changes Made

  1. Dependency Fix: Updated intl dependency constraint from ^0.19.0 to ^0.20.0
  2. Constructor Fix: Implemented missing JewishCalendar.initDate constructor body
  3. Test Fix: Corrected timezone handling in candle lighting tests

Issues Resolved

  • Fixes #[ISSUE_NUMBER] - Dependency conflict preventing package use with Flutter 3.24+
  • Resolves broken initDate constructor that was defaulting to current date instead of specified Jewish date
  • All Daf Yomi calculation tests now pass correctly
  • Candle lighting time calculations work properly

Testing

  • ✅ All existing tests pass
  • ✅ Daf Yomi calculations return correct results
  • ✅ Example app continues to work correctly
  • ✅ Package builds successfully with Flutter 3.32.0

Compatibility

  • Flutter 3.32.0 ✅
  • Existing Flutter versions ✅
  • No breaking changes to public API

- Update intl dependency from ^0.19.0 to ^0.20.0 for Flutter 3.24+ compatibility
- Fix JewishCalendar.initDate constructor implementation
- All tests now pass including Daf Yomi calculations
- Resolves dependency conflict preventing package use with current Flutter versions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant