Skip to content

Commit 86e251c

Browse files
committed
v2.1.1
1 parent 23b9c02 commit 86e251c

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## 2.1.1
2+
3+
- Introduce `firstDayOfWeek` extension to `DateTime`
4+
- Introduce `lastDayOfWeek` extension to `DateTime`
5+
- Introduce `firstDayOfMonth` extension to `DateTime`
6+
- Introduce `lastDayOfMonth` extension to `DateTime`
7+
- Introduce `firstDayOfYear` extension to `DateTime`
8+
- Introduce `lastDayOfYear` extension to `DateTime`
9+
- Introduce `clamp` extension to `DateTime`
10+
- Introduce `clamp` extension to `Duration`
11+
112
## 2.1.0
213

314
- Introduce `package:clock` dependency for more predictable testing

README.md

Lines changed: 1 addition & 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.0"
15+
time: "^2.1.1"
1616
```
1717
1818
### ⚡ Import

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.0
3+
version: 2.1.1
44
homepage: https://github.com/jogboms/time.dart
55

66
environment:

0 commit comments

Comments
 (0)