jama5262 / jiffy

Jiffy is a Flutter (Android, IOS and Web) date time package for parsing, manipulating, querying and formatting dates
https://pub.dev/packages/jiffy
MIT License
588 stars 126 forks source link

Error in INTL 0.18.1 #228

Closed bilalsammour closed 1 year ago

bilalsammour commented 1 year ago

Describe the bug

Jiffy depends on intl 0.18.1 that has the following error with the latest Flutter version:

Because [PROJECR] depends on flutter_localizations from sdk which depends on intl 0.17.0, intl 0.17.0 is required.
So, because invy depends on intl ^0.18.1, version solving failed.

How to reproduce the bug

jama5262 commented 1 year ago

Hey @bilalsammour , i don't think it a good idea for Jiffy for rollback the Intl version from 0.18.0 to 0.17.0. If you really want 0.17.0 you can try dependency_overrides in pubspecy.yml file, like so

dependency_overrides:
  intl: ^0.17.0

I believe this might work for you