@citygross/components 0.7.196 → 0.7.197

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.
@@ -394,6 +394,8 @@ var makeCateringPortionsString = function (variant, cartItem, unit) {
394
394
  return qString;
395
395
  };
396
396
 
397
+ var formatLeadingZero = function (day) { return day.replace(/^0+/, ''); };
398
+
397
399
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof _commonjsHelpers.commonjsGlobal !== 'undefined' ? _commonjsHelpers.commonjsGlobal : typeof self !== 'undefined' ? self : {};
398
400
 
399
401
  function commonjsRequire (path) {
@@ -18664,6 +18666,7 @@ moment.locale(Locale.swedish);
18664
18666
  index.__exports.capitalizeFirstLetter = capitalizeFirstLetter;
18665
18667
  index.__exports.comparisonTypes = comparisonTypes;
18666
18668
  index.__exports.emailRegex = emailRegex;
18669
+ index.__exports.formatLeadingZero = formatLeadingZero;
18667
18670
  index.__exports.formatPrice = formatPrice;
18668
18671
  index.__exports.formatPriceWithDecimalsReduced = formatPriceWithDecimalsReduced;
18669
18672
  index.__exports.getCountryFromLanguageCode = getCountryFromLanguageCode;