Skip to content

Commit

Permalink
v2.1.3 #66
Browse files Browse the repository at this point in the history
  • Loading branch information
jogboms authored Sep 3, 2022
2 parents be716d9 + ef0ede6 commit 6fea0d7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
1 change: 1 addition & 0 deletions .pubignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea/*
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ final DateTime fourHoursFromNow = DateTime.now() + Duration(hours: 4);
## 🎖 Installation
```yaml
dependencies:
time: "^2.1.2"
time: "^2.1.3"
```
### ⚡ Import
Expand Down Expand Up @@ -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.
Expand Down
12 changes: 8 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6fea0d7

Please sign in to comment.