@citygross/components 0.7.196 → 0.7.198

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.
@@ -387,6 +387,8 @@ var makeCateringPortionsString = function (variant, cartItem, unit) {
387
387
  return qString;
388
388
  };
389
389
 
390
+ var formatLeadingZero = function (day) { return day.replace(/^0+/, ''); };
391
+
390
392
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof commonjsGlobal$1 !== 'undefined' ? commonjsGlobal$1 : typeof self !== 'undefined' ? self : {};
391
393
 
392
394
  function commonjsRequire (path) {
@@ -18657,6 +18659,7 @@ moment.locale(Locale.swedish);
18657
18659
  build.capitalizeFirstLetter = capitalizeFirstLetter;
18658
18660
  build.comparisonTypes = comparisonTypes;
18659
18661
  build.emailRegex = emailRegex;
18662
+ build.formatLeadingZero = formatLeadingZero;
18660
18663
  build.formatPrice = formatPrice;
18661
18664
  build.formatPriceWithDecimalsReduced = formatPriceWithDecimalsReduced;
18662
18665
  build.getCountryFromLanguageCode = getCountryFromLanguageCode;