jalali_date_time 1.1.2
jalali_date_time: ^1.1.2 copied to clipboard
JalaliDateTime is a Dart package that provides a convenient way to work with Jalali (Persian) dates while using the underlying DateTime structure.
1.1.2 #
- (Fix) (Persian/Normal) DateTime formatter extensions
1.1.1 #
Major #
- Changed the class name from
PersianFormattertoPersianDateTimeFormat. - Fixed a pattern addition bug. For example, if you initialize the pattern with
Hand then addmto it, the pattern must beHm. However, it was tokenized as['H', 'm']. As a result, the final formatting for09:15was0915. To achieve the correct result, you had to add a:before adding them.
Minor #
- Added documentation to
PersianDateTimeFormat. - Updated examples to match the new formatting system.
- Updated
JalaliDateTime.ToString()to the new formatting system. - Changed the name of the
toDateTimemethod togetDateTimesince it's not a map method but rather just a getter.
1.1.0 #
- (Feat) Persian DateTime formatter
1.0.3 #
- (Feat) DateTime to JalaliDateTime extension
1.0.2 #
- (Feat) added parse and tryParse contractors to JalaliDateTime
1.0.1 #
- Initial version.