@bbn/bbn 1.0.104 → 1.0.106

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 CHANGED
@@ -3704,14 +3704,7 @@
3704
3704
  if (!(0, isDate_js_5.isDate)(r)) {
3705
3705
  return wrong_result && (0, isString_js_8.isString)(wrong_result) ? wrong_result : '';
3706
3706
  }
3707
- return (0, dayjs_min_js_1.default)(r).calendar(null, {
3708
- sameDay: '[' + bbn._('Today') + ']',
3709
- nextDay: '[' + bbn._('Tomorrow') + ']',
3710
- nextWeek: 'ddd D',
3711
- lastDay: '[' + bbn._('Yesterday') + ']',
3712
- lastWeek: 'ddd D',
3713
- sameElse: 'L',
3714
- });
3707
+ return '';
3715
3708
  };
3716
3709
  exports.calendar = calendar;
3717
3710
  });
@@ -12,13 +12,6 @@ const calendar = function (d, wrong_result = false) {
12
12
  if (!isDate(r)) {
13
13
  return wrong_result && isString(wrong_result) ? wrong_result : '';
14
14
  }
15
- return dayjs(r).calendar(null, {
16
- sameDay: '[' + bbn._('Today') + ']',
17
- nextDay: '[' + bbn._('Tomorrow') + ']',
18
- nextWeek: 'ddd D',
19
- lastDay: '[' + bbn._('Yesterday') + ']',
20
- lastWeek: 'ddd D',
21
- sameElse: 'L',
22
- });
15
+ return '';
23
16
  };
24
17
  export { calendar };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "1.0.104",
3
+ "version": "1.0.106",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",