techsbcn-storybook 0.19.0 → 0.20.0

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.
@@ -561,7 +561,7 @@ var TableComponent = function TableComponent(props) {
561
561
  } else return props.values[value.toUpperCase()];
562
562
  }
563
563
 
564
- if (column.isDate && value) return new Date(value).toLocaleDateString('es-ES');
564
+ if (column.isDate && value) return new Date(value).toLocaleDateString();
565
565
  if (column.isPrice && value) return Number(value).toFixed(2).replace('.', ',').toLocaleString().replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1.') + " " + props.values.SYMBOL_EURO;
566
566
 
567
567
  if (column.isImage && value) {
@@ -957,7 +957,7 @@ var SimpleTableComponent = function SimpleTableComponent(props) {
957
957
  } else return props.values[value.toUpperCase()];
958
958
  }
959
959
 
960
- if (column.isDate && value) return new Date(value).toLocaleDateString('es-ES');
960
+ if (column.isDate && value) return new Date(value).toLocaleDateString();
961
961
  if (column.isPrice && value) return Number(value).toFixed(2).replace('.', ',').toLocaleString().replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1.') + " " + props.values.SYMBOL_EURO;
962
962
 
963
963
  if (column.isImage && value) {