Comparing version 0.9.1 to 0.9.2
{ | ||
"name": "easy-date", | ||
"main": "easy-date.js", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"homepage": "https://github.com/melvinsembrano/easy-date", | ||
@@ -6,0 +6,0 @@ "authors": [ |
/*! | ||
easy-date 0.9.1 | ||
easy-date 0.9.2 | ||
Description: EasyDate is a Javascript extension for easy dates manipulations which is heavily inspired by Rails ActiveSupport::Duration class. | ||
@@ -4,0 +4,0 @@ Author: Melvin Sembrano <melvinsembrano@gmail.com> (https://github.com/melvinsembrano/easy-date) |
@@ -5,3 +5,11 @@ { | ||
"description": "EasyDate is a Javascript extension for easy dates manipulations which is heavily inspired by Rails ActiveSupport::Duration class.", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"keywords": [ | ||
"EasyDate", | ||
"Easy Date", | ||
"Rails Date", | ||
"Javascript Date", | ||
"Rails like javascript date", | ||
"ruby date" | ||
], | ||
"repository": { | ||
@@ -15,2 +23,3 @@ "type": "git", | ||
"grunt": "^0.4.5", | ||
"grunt-bump": "^0.3.1", | ||
"grunt-contrib-coffee": "^0.13.0", | ||
@@ -20,2 +29,3 @@ "grunt-contrib-jasmine": "^0.8.2", | ||
"grunt-contrib-watch": "^0.6.1", | ||
"grunt-exec": "^0.4.6", | ||
"grunt-karma": "^0.10.1", | ||
@@ -22,0 +32,0 @@ "jasmine": "^2.3.1", |
@@ -181,3 +181,4 @@ describe('EasyDate', function() { | ||
var now = new Date(); | ||
expect(3..hours().fromNow().getHours()).toBe(now.getHours() + 3); | ||
now.setHours(now.getHours() + 3); | ||
expect(3..hours().fromNow().getHours()).toBe(now.getHours()); | ||
}); | ||
@@ -187,3 +188,4 @@ | ||
var now = new Date(); | ||
expect(3..hours().ago().getHours()).toBe(now.getHours() - 3); | ||
now.setHours(now.getHours() - 3); | ||
expect(3..hours().ago().getHours()).toBe(now.getHours()); | ||
}); | ||
@@ -190,0 +192,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23557
358
13