@js-joda/extra 0.11.3 → 0.11.5
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/dist/js-joda-extra.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//! @version @js-joda/extra - 0.11.
|
|
1
|
+
//! @version @js-joda/extra - 0.11.5
|
|
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)
|
|
@@ -1521,7 +1521,7 @@
|
|
|
1521
1521
|
};
|
|
1522
1522
|
YearQuarter._nowClock = function _nowClock(clock) {
|
|
1523
1523
|
var now = core.LocalDate.now(clock);
|
|
1524
|
-
return YearQuarter.of(now.
|
|
1524
|
+
return YearQuarter.of(now.year(), Quarter.from(now.month()));
|
|
1525
1525
|
};
|
|
1526
1526
|
YearQuarter.of = function of(year, quarter) {
|
|
1527
1527
|
if (year instanceof core.Year && quarter instanceof Quarter) {
|