@js-joda/extra 0.11.2 → 0.11.4
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//! @version @js-joda/extra - 0.11.
|
|
1
|
+
//! @version @js-joda/extra - 0.11.4
|
|
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)
|
|
@@ -1517,7 +1517,7 @@ var YearQuarter = function (_Temporal) {
|
|
|
1517
1517
|
};
|
|
1518
1518
|
YearQuarter._nowClock = function _nowClock(clock) {
|
|
1519
1519
|
var now = LocalDate.now(clock);
|
|
1520
|
-
return YearQuarter.of(now.
|
|
1520
|
+
return YearQuarter.of(now.year(), Quarter.from(now.month()));
|
|
1521
1521
|
};
|
|
1522
1522
|
YearQuarter.of = function of(year, quarter) {
|
|
1523
1523
|
if (year instanceof Year && quarter instanceof Quarter) {
|