diff --git a/.pubignore b/.pubignore new file mode 100644 index 0000000..1c2d52b --- /dev/null +++ b/.pubignore @@ -0,0 +1 @@ +.idea/* diff --git a/CHANGELOG.md b/CHANGELOG.md index daf3291..c6cf85d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 2.1.3 + +- Introduce `isWeekend` extension to `DateTime` +- Introduce `isWorkday` extension to `DateTime` + ## 2.1.2 - Fix `min` and `max` assertion with `clamp` extension diff --git a/README.md b/README.md index e8a8951..4848d50 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ final DateTime fourHoursFromNow = DateTime.now() + Duration(hours: 4); ## 🎖 Installation ```yaml dependencies: - time: "^2.1.2" + time: "^2.1.3" ``` ### ⚡ Import @@ -102,6 +102,8 @@ final expected = initial.copyWith( ); ``` +Visit the [API Reference](https://pub.dev/documentation/time/latest/time/time-library.html) to find out all that is available. + ## 🐛 Bugs/Requests If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on Github and I'll look into it. Pull request are also welcome. diff --git a/pubspec.yaml b/pubspec.yaml index 92d4590..5190de0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,17 +1,21 @@ name: time description: Type-safe DateTime and Duration calculations, powered by extensions. -version: 2.1.2 +version: 2.1.3 homepage: https://github.com/jogboms/time.dart environment: sdk: ">=2.12.0 <3.0.0" dependencies: - clock: ^1.1.0 + clock: ^1.1.1 + +funding: + - https://www.paypal.me/jogboms + - https://www.buymeacoffee.com/jogboms dev_dependencies: - lints: ^1.0.1 - test: ^1.21.1 + lints: ^2.0.0 + test: ^1.21.4 test_coverage: git: url: https://github.com/timsneath/test-coverage.git