jalali_date_time 1.3.0 jalali_date_time: ^1.3.0 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.3.0 #
- (Minor) Fixed package version boundaries
1.2.0 #
- (Minor) Fixed package version boundaries
1.1.5 #
- (Minor) Bump package versions
1.1.4 #
- (Fix) PersianDateFormat's addPattern was not acting like DateFormat's addPattern
- (Perf) calling pattern related methods on an instance of PersianDateFormat has will not trigger parser
1.1.3 #
- (Tests) tests on JalaliDateTime + Core features
1.1.2 #
- (Fix) (Persian/Normal) DateTime formatter extensions
1.1.1 #
Major #
-
Changed the class name from
PersianFormatter
toPersianDateTimeFormat
. -
Fixed a pattern addition bug. For example, if you initialize the pattern with
H
and then addm
to it, the pattern must beHm
. However, it was tokenized as['H', 'm']
. As a result, the final formatting for09:15
was0915
. 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
toDateTime
method togetDateTime
since 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.