@bbn/bbn 1.0.490 → 1.0.491
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/date.d.ts +2 -0
- package/dist/date.js +14 -0
- package/package.json +1 -1
package/dist/date.d.ts
CHANGED
package/dist/date.js
CHANGED
|
@@ -484,6 +484,20 @@ class bbnDateTool {
|
|
|
484
484
|
get d() {
|
|
485
485
|
return this.day().toString();
|
|
486
486
|
}
|
|
487
|
+
get dddd() {
|
|
488
|
+
const opt = {
|
|
489
|
+
weekday: 'long'
|
|
490
|
+
};
|
|
491
|
+
const d = new Intl.DateTimeFormat([bbn.env.lang, ...navigator.languages], opt);
|
|
492
|
+
return d.format(__classPrivateFieldGet(this, _bbnDateTool_value, "f"));
|
|
493
|
+
}
|
|
494
|
+
get ddd() {
|
|
495
|
+
const opt = {
|
|
496
|
+
weekday: 'short'
|
|
497
|
+
};
|
|
498
|
+
const d = new Intl.DateTimeFormat([bbn.env.lang, ...navigator.languages], opt);
|
|
499
|
+
return d.format(__classPrivateFieldGet(this, _bbnDateTool_value, "f"));
|
|
500
|
+
}
|
|
487
501
|
get D() {
|
|
488
502
|
return this.day().toString();
|
|
489
503
|
}
|