Skip to content

Commit 6fea0d7

Browse files
authored
v2.1.3 #66
2 parents be716d9 + ef0ede6 commit 6fea0d7

File tree

4 files changed

+17
-5
lines changed

4 files changed

+17
-5
lines changed

.pubignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea/*

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 2.1.3
2+
3+
- Introduce `isWeekend` extension to `DateTime`
4+
- Introduce `isWorkday` extension to `DateTime`
5+
16
## 2.1.2
27

38
- Fix `min` and `max` assertion with `clamp` extension

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ final DateTime fourHoursFromNow = DateTime.now() + Duration(hours: 4);
1212
## 🎖 Installation
1313
```yaml
1414
dependencies:
15-
time: "^2.1.2"
15+
time: "^2.1.3"
1616
```
1717
1818
### ⚡ Import
@@ -102,6 +102,8 @@ final expected = initial.copyWith(
102102
);
103103
```
104104

105+
Visit the [API Reference](https://pub.dev/documentation/time/latest/time/time-library.html) to find out all that is available.
106+
105107
## 🐛 Bugs/Requests
106108

107109
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.

pubspec.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
name: time
22
description: Type-safe DateTime and Duration calculations, powered by extensions.
3-
version: 2.1.2
3+
version: 2.1.3
44
homepage: https://github.com/jogboms/time.dart
55

66
environment:
77
sdk: ">=2.12.0 <3.0.0"
88

99
dependencies:
10-
clock: ^1.1.0
10+
clock: ^1.1.1
11+
12+
funding:
13+
- https://www.paypal.me/jogboms
14+
- https://www.buymeacoffee.com/jogboms
1115

1216
dev_dependencies:
13-
lints: ^1.0.1
14-
test: ^1.21.1
17+
lints: ^2.0.0
18+
test: ^1.21.4
1519
test_coverage:
1620
git:
1721
url: https://github.com/timsneath/test-coverage.git

0 commit comments

Comments
 (0)