@bbn/bbn 2.0.108 → 2.0.109
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/date.js +1 -1
- package/dist/dt/classes/dateTime.js +1 -1
- package/dist/dt/classes/yearMonth.js +1 -1
- package/package.json +1 -1
package/dist/dt/classes/date.js
CHANGED
|
@@ -41,7 +41,7 @@ export default class bbnDtDate extends bbnDt {
|
|
|
41
41
|
if (!format) {
|
|
42
42
|
format = getRow(bbn.dt.locales.date, { year: 'numeric', month: 'numeric', day: 'numeric' }).pattern;
|
|
43
43
|
}
|
|
44
|
-
return bbnDt.prototype.format.call(this,
|
|
44
|
+
return bbnDt.prototype.format.call(this, [format]);
|
|
45
45
|
}
|
|
46
46
|
ftime(withSeconds = false) {
|
|
47
47
|
return '00:00' + (withSeconds ? ':00' : '');
|
|
@@ -37,7 +37,7 @@ export default class bbnDtDateTime extends bbnDt {
|
|
|
37
37
|
if (!format) {
|
|
38
38
|
format = getRow(bbn.dt.locales.date, { year: 'numeric', month: 'numeric', day: 'numeric', hour: 'numeric', minute: '2-digit', second: undefined }).pattern;
|
|
39
39
|
}
|
|
40
|
-
return bbnDt.prototype.format.call(this,
|
|
40
|
+
return bbnDt.prototype.format.call(this, [format]);
|
|
41
41
|
}
|
|
42
42
|
fdate(long = false, withTime = false, weekday = false) {
|
|
43
43
|
if (!this.value) {
|
|
@@ -42,7 +42,7 @@ export default class bbnDtYearMonth extends bbnDt {
|
|
|
42
42
|
&& (d.month === 'numeric')
|
|
43
43
|
&& !('day' in d)).pattern;
|
|
44
44
|
}
|
|
45
|
-
return bbnDt.prototype.format.call(this,
|
|
45
|
+
return bbnDt.prototype.format.call(this, [format]);
|
|
46
46
|
}
|
|
47
47
|
fdate(long = false, withTime = false, weekday = false) {
|
|
48
48
|
if (!this.value) {
|