@bbn/bbn 2.0.134 → 2.0.135
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/bbn.js +1 -1
- package/dist/bbn.js.map +1 -1
- package/dist/dt/classes/dt.js +1 -1
- package/package.json +1 -1
package/dist/dt/classes/dt.js
CHANGED
|
@@ -239,7 +239,7 @@ export class bbnDt {
|
|
|
239
239
|
if (typeof za.until !== 'function') {
|
|
240
240
|
throw new TypeError('ZonedDateTime does not support until/since');
|
|
241
241
|
}
|
|
242
|
-
const diff = za.until(zb, { largestUnit: realUnit });
|
|
242
|
+
const diff = za.until(zb, { largestUnit: realUnit, roundingMode: 'floor' });
|
|
243
243
|
return diff.sign;
|
|
244
244
|
}
|
|
245
245
|
// ---- CASE 3: not compatible ----
|