File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change
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
+
1
12
## 2.1.0
2
13
3
14
- Introduce ` package:clock ` dependency for more predictable testing
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ final DateTime fourHoursFromNow = DateTime.now() + Duration(hours: 4);
12
12
## 🎖 Installation
13
13
``` yaml
14
14
dependencies :
15
- time : " ^2.1.0 "
15
+ time : " ^2.1.1 "
16
16
` ` `
17
17
18
18
### ⚡ Import
Original file line number Diff line number Diff line change 1
1
name : time
2
2
description : Type-safe DateTime and Duration calculations, powered by extensions.
3
- version : 2.1.0
3
+ version : 2.1.1
4
4
homepage : https://github.com/jogboms/time.dart
5
5
6
6
environment :
You can’t perform that action at this time.
0 commit comments