@citygross/components 0.16.5 → 0.16.6

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.
@@ -18839,9 +18839,9 @@ var Locale;
18839
18839
  })(Locale || (Locale = {}));
18840
18840
  moment.locale(Locale.swedish);
18841
18841
 
18842
- var formatDateToLocale = function (date, withYear) {
18842
+ var formatDateToLocale = function (date, withYear, withDay) {
18843
18843
  var _a, _b;
18844
- return (_b = (_a = moment(new Date(date))) === null || _a === void 0 ? void 0 : _a.format("dddd D MMMM ".concat(withYear ? 'YYYY' : ''))) === null || _b === void 0 ? void 0 : _b.toLocaleLowerCase();
18844
+ return (_b = (_a = moment(new Date(date))) === null || _a === void 0 ? void 0 : _a.format("".concat(withDay ? 'dddd ' : '', "D MMMM ").concat(withYear ? 'YYYY' : ''))) === null || _b === void 0 ? void 0 : _b.toLocaleLowerCase();
18845
18845
  };
18846
18846
 
18847
18847
  var sv = {exports: {}};