chrono_dart 2.0.2 copy "chrono_dart: ^2.0.2" to clipboard
chrono_dart: ^2.0.2 copied to clipboard

A natural language date parser in Dart. Finds date references in user-generated text and returns objects containing DateTime and position in text.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add chrono_dart

With Flutter:

 $ flutter pub add chrono_dart

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  chrono_dart: ^2.0.2

Alternatively, 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:chrono_dart/chrono_dart.dart';
5
likes
150
points
186
downloads

Publisher

verified publisherg-30.dev

Weekly Downloads

A natural language date parser in Dart. Finds date references in user-generated text and returns objects containing DateTime and position in text.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

day

More

Packages that depend on chrono_dart