Skip to content

v2.1.3 #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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