@bbn/bbn 2.0.88 → 2.0.90
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.d.ts +1 -0
- package/dist/dt/classes/dt.js +2 -0
- package/package.json +1 -1
package/dist/dt/classes/dt.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import bbnDtDuration from './duration.js';
|
|
|
4
4
|
export declare abstract class bbnDt<TValue extends bbnDtTemporal> {
|
|
5
5
|
#private;
|
|
6
6
|
abstract readonly kind: bbnDtKind;
|
|
7
|
+
readonly __bbnNoData = true;
|
|
7
8
|
constructor(value?: TValue);
|
|
8
9
|
get value(): TValue | undefined;
|
|
9
10
|
/** System time zone ID (e.g. "Europe/Rome") */
|
package/dist/dt/classes/dt.js
CHANGED
|
@@ -21,6 +21,7 @@ import bbnDtDuration from './duration.js';
|
|
|
21
21
|
import camelToCss from '../../fn/string/camelToCss.js';
|
|
22
22
|
export class bbnDt {
|
|
23
23
|
constructor(value) {
|
|
24
|
+
this.__bbnNoData = true;
|
|
24
25
|
_bbnDt_value.set(this, void 0);
|
|
25
26
|
this.getWeekdayIndex = (name, locale) => {
|
|
26
27
|
const loc = locale || bbn.env.lang;
|
|
@@ -720,6 +721,7 @@ export class bbnDt {
|
|
|
720
721
|
targetMs = parsed.toEpochMs();
|
|
721
722
|
}
|
|
722
723
|
else {
|
|
724
|
+
bbn.fn.log("DATE??", date);
|
|
723
725
|
throw new TypeError('Unsupported date argument for diff');
|
|
724
726
|
}
|
|
725
727
|
const nowMs = this.toEpochMs();
|