Skip to content

Commit ef0ede6

Browse files
committed
v2.1.3
1 parent 0db2a55 commit ef0ede6

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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:

0 commit comments

Comments
 (0)