diff --git a/.idea/libraries/Dart_Packages.xml b/.idea/libraries/Dart_Packages.xml
index dc1a705..d045850 100644
--- a/.idea/libraries/Dart_Packages.xml
+++ b/.idea/libraries/Dart_Packages.xml
@@ -9,6 +9,13 @@
+
+
+
+
+
+
+
@@ -19,14 +26,14 @@
-
+
-
+
@@ -51,6 +58,13 @@
+
+
+
+
+
+
+
@@ -121,6 +135,13 @@
+
+
+
+
+
+
+
@@ -142,31 +163,31 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -208,14 +229,21 @@
-
+
-
+
+
+
+
+
+
+
+
@@ -236,7 +264,7 @@
-
+
@@ -313,7 +341,7 @@
-
+
@@ -327,21 +355,21 @@
-
+
-
+
-
+
@@ -359,10 +387,10 @@
-
+
-
+
@@ -380,6 +408,13 @@
+
+
+
+
+
+
+
@@ -391,12 +426,14 @@
+
-
-
+
+
+
@@ -405,23 +442,25 @@
+
-
-
-
+
+
+
-
-
+
+
+
-
+
@@ -431,16 +470,17 @@
-
+
-
-
-
+
+
+
-
+
+
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f77ebe2..8d1e1a3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,11 @@
+## 3.0.1
+
+- Patch changes
+
+Fixed `Undefined name 'Units'` bug
+
+Swedish locale `sv` contributed by [Erik Carlsson](https://github.com/ercadev)
+
## 3.0.0
- Major changes
diff --git a/README.md b/README.md
index bffaed7..a8af591 100644
--- a/README.md
+++ b/README.md
@@ -3,12 +3,12 @@
[](https://travis-ci.org/jama5262/jiffy)
[](https://coveralls.io/github/jama5262/jiffy?branch=master)
[](https://opensource.org/licenses/MIT)
-[](https://pub.dev/packages/jiffy)
+[](https://pub.dev/packages/jiffy)
[](https://github.com/jama5262/jiffy)
Jiffy is a Flutter (Android, IOS and Web) date time package inspired by [momentjs](https://momentjs.com/) for parsing, manipulating, querying and formatting dates
-### [Full Documentation](https://github.com/jama5262/jiffy/tree/v3.0.0/doc) | [Installation](https://pub.dev/packages/jiffy#-installing-tab-) | [ChangeLog](https://pub.dev/packages/jiffy#-changelog-tab-) | [Examples](https://pub.dev/packages/jiffy#-example-tab-)
+### [Full Documentation](https://github.com/jama5262/jiffy/tree/v3.0.1/doc) | [Installation](https://pub.dev/packages/jiffy#-installing-tab-) | [ChangeLog](https://pub.dev/packages/jiffy#-changelog-tab-) | [Examples](https://pub.dev/packages/jiffy#-example-tab-)
# Usage
diff --git a/doc/README.md b/doc/README.md
index 3af6c7e..ea0399c 100644
--- a/doc/README.md
+++ b/doc/README.md
@@ -3,7 +3,7 @@
[](https://travis-ci.org/jama5262/jiffy)
[](https://coveralls.io/github/jama5262/jiffy?branch=master)
[](https://opensource.org/licenses/MIT)
-[](https://pub.dev/packages/jiffy)
+[](https://pub.dev/packages/jiffy)
[](https://github.com/jama5262/jiffy)
@@ -461,7 +461,7 @@ var jiffy2 = Jiffy("2010-10-19", "yyyy-MM-dd");
jiffy1.isAfter(jiffy2); // true
```
-You can also check in terms of units of measurement. The below example checks if year is before.
+You can also check in terms of units of measurement. The below example checks if year is after.
```dart
var jiffy1 = Jiffy("2010-10-20", "yyyy-MM-dd");
diff --git a/lib/jiffy.dart b/lib/jiffy.dart
index 82c95d0..b36c167 100644
--- a/lib/jiffy.dart
+++ b/lib/jiffy.dart
@@ -4,3 +4,4 @@
library jiffy;
export 'src/jiffy.dart';
+export 'src/enums/units.dart';
diff --git a/pubspec.yaml b/pubspec.yaml
index bb34b6e..fa56378 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,6 +1,6 @@
name: jiffy
description: Jiffy is a date dart package inspired by momentjs for parsing, manipulating and formatting dates
-version: 3.0.0
+version: 3.0.1
homepage: https://github.com/jama5262/jiffy
repository: https://github.com/jama5262/jiffy
issue_tracker: https://github.com/jama5262/jiffy/issues
diff --git a/test/jiffy_display_test.dart b/test/jiffy_display_test.dart
index 11b0549..26826e0 100644
--- a/test/jiffy_display_test.dart
+++ b/test/jiffy_display_test.dart
@@ -8,7 +8,7 @@ void main() {
'test Jiffy().format get method with parsing date time should return correct date time string',
() {
expect(Jiffy('20191016').format('MMMM dd, yyyy'), 'October 16, 2019');
- expect(Jiffy('2019-10-16 12:00').format("[Today is] dd MMM"),
+ expect(Jiffy('2019-10-16 12:00').format('[Today is] dd MMM'),
'Today is 16 Oct');
expect(Jiffy('2019-10-16T00:00:00.000').format('MMMMEEEEd'),
'Wednesday, October 16');
diff --git a/test/jiffy_relative_locale_test.dart b/test/jiffy_relative_locale_test.dart
index e2d964d..a9b1782 100644
--- a/test/jiffy_relative_locale_test.dart
+++ b/test/jiffy_relative_locale_test.dart
@@ -323,7 +323,7 @@ void main() {
expect(jiffy13.fromNow(), '10 yıl önce');
});
test(
- 'test Jiffy.locale() method with parsing en locale should return correct date time in sv locale',
+ 'test Jiffy.locale() method with parsing sv locale should return correct date time in sv locale',
() async {
await Jiffy.locale('sv');
expect(jiffy1.fromNow(), 'några sekunder sedan');