jalali_date 0.1.4 copy "jalali_date: ^0.1.4" to clipboard
jalali_date: ^0.1.4 copied to clipboard

discontinued
outdated

Persian (Jalali) date for Dart (Web/Flutter/DartVm). This calendar is using in Iran, Afghanistan and other countries. with this plugin, you can convert Gregorian date to Persian date.

example/main.dart

import 'package:jalali_date/jalali_date.dart';

main(List<String> arguments) async {
  print(PersianDate.fromDateTime(DateTime.parse('2012-02-27 13:27:00.123456z'))
      .toString(showTime: true));
  print(PersianDate.now().toString(showTime: false));
}
3
likes
30
pub points
45%
popularity

Publisher

unverified uploader

Persian (Jalali) date for Dart (Web/Flutter/DartVm). This calendar is using in Iran, Afghanistan and other countries. with this plugin, you can convert Gregorian date to Persian date.

Homepage

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on jalali_date