@js-joda/extra 0.11.1 → 0.11.3
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.3
|
|
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)
|
|
@@ -1176,7 +1176,7 @@ var Quarter = function (_TemporalAccessor) {
|
|
|
1176
1176
|
var qoy = MathUtil$3.safeToInt(temporal.getLong(IsoFields.QUARTER_OF_YEAR));
|
|
1177
1177
|
return Quarter.of(qoy);
|
|
1178
1178
|
} catch (ex) {
|
|
1179
|
-
throw new DateTimeException("Unable to obtain Quarter from TemporalAccessor: " + temporal + " of type " + temporal.constructor.name, ex);
|
|
1179
|
+
throw new DateTimeException("Unable to obtain Quarter from TemporalAccessor: '" + temporal + "' of type '" + (temporal && temporal.constructor.name) + "'", ex);
|
|
1180
1180
|
}
|
|
1181
1181
|
};
|
|
1182
1182
|
function Quarter(value, name) {
|