v2.1.0
Overview
v2.1.0 marks stable release of Nepali-Date-Picker after stable release of Compose Multiplatform 1.7.0.
Key Updates
Changes after v2.0.0-rc01
New features
UI
- Now there is a separate
NepaliDatePickerWithEnglishDate
for date picker with both English and Nepali dates. - Now the library supports
NepaliDateRangePicker
. There are two variants of NepaliDateRangePicker, i.e., one with only Nepali dates and other with both English and Nepali.
Utilities
getNepaliCalendar()
is now public, which means you get Nepali Calendar using Nepali dates which was previously possible with multiple conversions only.- You can get particular Nepali calendar by adding or subtracting days without worrying about the date(year and month) overflows or underflows. If you want calendar of a particular date of after 233 days or before 20 days you can easily use a function
getNepaliCalendarAfterAdditionOrSubtraction(..)
. Check documentation in Library itself.
Bug fixes/Improvements
- Fix
weekOfYear
which had some edge cases to cover while using getNepaliCalendar . - English date formatter now utilize locale for desired formatting and localization which was not utilized completely previously.
- Make changes to date picker state variable of
selectablesDate
(for state outside of compostion). - Logic improvements and performance boost.