@plasmicpkgs/plasmic-rich-components 1.0.150 → 1.0.151

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.
@@ -2725,8 +2725,13 @@ var __objRest = (source, exclude) => {
2725
2725
  dayjs.extend(weekday);
2726
2726
  dayjs.extend(localeData);
2727
2727
  function getEventFullDate(date) {
2728
- var _a;
2729
- return ((_a = parseDate(date)) == null ? void 0 : _a.toISOString()) || void 0;
2728
+ const parsed = parseDate(date);
2729
+ if (!parsed)
2730
+ return void 0;
2731
+ const yyyy = parsed.getFullYear();
2732
+ const mm = (parsed.getMonth() + 1).toString().padStart(2, "0");
2733
+ const dd = parsed.getDate().toString().padStart(2, "0");
2734
+ return `${yyyy}-${mm}-${dd}`;
2730
2735
  }
2731
2736
  function getEventMonthYear(date) {
2732
2737
  var _a;