@js-joda/extra 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
## additional date-time classes that complement those in js-joda
|
|
4
4
|
|
|
5
5
|
[](https://badge.fury.io/js/%40js-joda%2Fextra)
|
|
6
|
-
[](https://github.com/js-joda/js-joda/actions)
|
|
7
7
|
[](https://saucelabs.com/u/js-joda)
|
|
8
|
-
[](https://coveralls.io/github/js-joda/js-joda?branch=main)
|
|
9
9
|
[](https://img.shields.io/npm/dm/%40js-joda%2Fextra.svg)
|
|
10
10
|
|
|
11
|
-
[](https://saucelabs.com/u/js-joda)
|
|
12
12
|
|
|
13
13
|
Attempt to port https://github.com/ThreeTen/threeten-extra to https://github.com/js-joda/js-joda as a js-joda plugin.
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//! @version @js-joda/extra - 0.10.
|
|
1
|
+
//! @version @js-joda/extra - 0.10.1
|
|
2
2
|
//! @copyright (c) 2015-present, Philipp Thürwächter, Pattrick Hüper & js-joda contributors
|
|
3
3
|
//! @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos
|
|
4
4
|
//! @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
|
|
@@ -977,7 +977,7 @@ var LocalDateRange = function () {
|
|
|
977
977
|
|
|
978
978
|
_proto.lengthInDays = function lengthInDays() {
|
|
979
979
|
if (this.isUnboundedStart() || this.isUnboundedEnd()) {
|
|
980
|
-
return Number.
|
|
980
|
+
return Number.POSITIVE_INFINITY;
|
|
981
981
|
}
|
|
982
982
|
|
|
983
983
|
return this._end.toEpochDay() - this._start.toEpochDay();
|