@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.
@@ -18846,9 +18846,9 @@ var Locale;
18846
18846
  })(Locale || (Locale = {}));
18847
18847
  moment.locale(Locale.swedish);
18848
18848
 
18849
- var formatDateToLocale = function (date, withYear) {
18849
+ var formatDateToLocale = function (date, withYear, withDay) {
18850
18850
  var _a, _b;
18851
- 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();
18851
+ 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();
18852
18852
  };
18853
18853
 
18854
18854
  var sv = {exports: {}};