@salesforcedevs/dx-components 0.33.0 → 0.33.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "0.33.0",
3
+ "version": "0.33.1",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -26,5 +26,5 @@
26
26
  "@types/debounce": "^1.2.0",
27
27
  "@types/lodash.get": "^4.4.6"
28
28
  },
29
- "gitHead": "34ebab19f554e645e11097c0fee21cc66adc1f0a"
29
+ "gitHead": "6c6a73b1bed7eae8260118a7e1a5b7f324e89982"
30
30
  }
@@ -331,7 +331,7 @@ export default class ContentArchive extends LightningElement {
331
331
  // split filter options by year/month for nested checkboxes
332
332
  private splitOptionsByDate(dateOptions: any) {
333
333
  return dateOptions.reduce((acc: any, curr: any) => {
334
- const date = new Date(curr);
334
+ const date = new Date(curr.replace(/-/g, "/"));
335
335
  const month = new Intl.DateTimeFormat("en-US", {
336
336
  month: "long"
337
337
  }).format(date);