Comparing version 0.3.1 to 0.4.0
# Changelog | ||
## 0.4.0 | ||
* Always round down to the nearest millisecond when parsing | ||
## 0.3.1 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "luxon", | ||
"version": "0.3.1", | ||
"version": "0.4.0", | ||
"description": "Immutable date wrapper", | ||
@@ -11,3 +11,5 @@ "author": "Isaac Cambron", | ||
"repository": "https://github.com/moment/luxon", | ||
"dependencies": {}, | ||
"dependencies": { | ||
"full-icu": "^1.2.0" | ||
}, | ||
"scripts": { | ||
@@ -14,0 +16,0 @@ "build": "babel-node tasks/build.js", |
@@ -82,3 +82,3 @@ import { Duration } from '../duration'; | ||
const f = parseFloat('0.' + fraction) * 1000; | ||
return Math.round(f); | ||
return Math.floor(f); | ||
} else { | ||
@@ -85,0 +85,0 @@ return 0; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
1187657
1
30
+ Addedfull-icu@^1.2.0
+ Addedbuffer-crc32@0.2.13(transitive)
+ Addedfd-slicer@1.1.0(transitive)
+ Addedfull-icu@1.5.0(transitive)
+ Addedpend@1.2.0(transitive)
+ Addedyauzl@2.10.0(transitive)