chrono_dart 2.0.0 copy "chrono_dart: ^2.0.0" to clipboard
chrono_dart: ^2.0.0 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.

example/main.dart

import 'package:chrono_dart/chrono_dart.dart' show Chrono;

void main() {
  final dateOrNull = Chrono.parseDate('An appointment on Sep 12');
  print('Found date: $dateOrNull');

  final results = Chrono.parse('An appointment on Sep 12');
  print('Found dates: $results');
}
5
likes
0
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

License

unknown (license)

Dependencies

day

More

Packages that depend on chrono_dart