Skip to content

Commit

Permalink
v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jogboms committed Oct 29, 2019
1 parent 0cfb4fb commit 0300e03
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 1.1.0

- Breaking Change: renamed `later` to `fromNow` to align with other ecosystems
- Introduced support for other variants of `num` i.e `double`

## 1.0.0

- Named extensions to allow discoverability
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ final DateTime fourHoursFromNow = DateTime.now() + Duration(hours: 4);
## 🎖 Installation
```yaml
dependencies:
time: "^1.0.0"
time: "^1.1.0"
```
### ⚡ Import
Expand All @@ -24,6 +24,7 @@ import 'package:time/time.dart';

```dart
final Duration tenMinutes = 10.minutes;
final Duration oneHourThirtyMinutes = 1.5.hours;
final DateTime afterTenMinutes = DateTime.now() + 10.minutes;
final Duration tenMinutesAndSome = 10.minutes + 15.seconds;
final int tenMinutesInSeconds = 10.minutes.inSeconds;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: time
description: Type-safe DateTime and Duration calculations, powered by extensions.
version: 1.0.0
version: 1.1.0
homepage: https://github.com/jogboms/time.dart
author: Jogboms <[email protected]>

Expand Down

0 comments on commit 0300e03

Please sign in to comment.