@bbn/bbn 1.0.111 → 1.0.113
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/bundle.js +2 -1
- package/dist/fn/datetime/calendar.js +3 -2
- package/package.json +1 -1
package/dist/bundle.js
CHANGED
|
@@ -3695,10 +3695,11 @@
|
|
|
3695
3695
|
"use strict";
|
|
3696
3696
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3697
3697
|
exports.calendar = void 0;
|
|
3698
|
+
const { dayjs_plugin_calendar } = calendar_js_1.default;
|
|
3698
3699
|
const bbn = {
|
|
3699
3700
|
_: st => st
|
|
3700
3701
|
};
|
|
3701
|
-
dayjs_min_js_1.default.extend(calendar_js_1.
|
|
3702
|
+
dayjs_min_js_1.default.extend(calendar_js_1.default);
|
|
3702
3703
|
/**
|
|
3703
3704
|
* Returns a date relative to the current day.
|
|
3704
3705
|
*
|
|
@@ -3,11 +3,12 @@ import { fdate } from "./fdate.js";
|
|
|
3
3
|
import { date } from "./date.js";
|
|
4
4
|
import { isDate } from "../type/isDate.js";
|
|
5
5
|
import { isString } from "../type/isString.js";
|
|
6
|
-
import
|
|
6
|
+
import pkg from '../../../node_modules/dayjs/plugin/calendar.js';
|
|
7
|
+
const { dayjs_plugin_calendar } = pkg;
|
|
7
8
|
const bbn = {
|
|
8
9
|
_: st => st
|
|
9
10
|
};
|
|
10
|
-
dayjs.extend(
|
|
11
|
+
dayjs.extend(pkg);
|
|
11
12
|
/**
|
|
12
13
|
* Returns a date relative to the current day.
|
|
13
14
|
*
|