universal_date_parser 1.0.1
universal_date_parser: ^1.0.1 copied to clipboard
A smart, fast, auto-detecting date parser for Dart/Flutter. Supports ISO, slash, dash, text, RFC, and compact formats.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add universal_date_parserWith Flutter:
$ flutter pub add universal_date_parserThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
universal_date_parser: ^1.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:universal_date_parser/universal_date_parser.dart';