@bbn/bbn 2.0.161 → 2.0.163

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,7 +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
+ const weekInfo = locale.getWeekInfo ? locale.getWeekInfo() : { firstDayOfWeek: 1 };
261
261
  extend(bbn.dt.locales, {
262
262
  formatters: {
263
263
  short: fmtShort,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "2.0.161",
3
+ "version": "2.0.163",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",