@bbn/bbn 2.0.156 → 2.0.160

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.
@@ -257,6 +257,7 @@ const buildLocaleFromIntl = () => {
257
257
  weekdaysShort.push(fmtWeekShort.format(d));
258
258
  }
259
259
  const { date, time, datetime } = getCommonFormatsForLocale(langs);
260
+ const weekInfo = locale.getWeekInfo();
260
261
  extend(bbn.dt.locales, {
261
262
  formatters: {
262
263
  short: fmtShort,
@@ -264,7 +265,7 @@ const buildLocaleFromIntl = () => {
264
265
  numeric: fmtNum,
265
266
  relative: rtf
266
267
  },
267
- firstDayOfWeek: locale.weekInfo.firstDay,
268
+ firstDayOfWeek: weekInfo.firstDay,
268
269
  monthsLong,
269
270
  monthsShort,
270
271
  weekdaysLong,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "2.0.156",
3
+ "version": "2.0.160",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",