cal/packages/app-store/applecalendar
Alex van Andel 62dcd6612c
Removed some of the UTC logic which shouldn't be there (#7425)
* Removed some of the UTC logic which shouldn't be there

* Upgrade rhf, remove SSR on [schedule] page

* Fix potential bug with date

* Amend schedule trpc call & don't show edit availability if id is undefined

* type fix

* Order date overrides in list by date

* Changed logic to check for unavailable

* Fix bug report spotted by @CarinaWolli

I can save date overrides for march 1st and 2nd (my date/time when saving was march 1st at 11PM GMT-5). It is saved successfully in the database however the date overrides don't show up in the list.

That's why:

- new Date() is utc so it is already march 2nd
- override.date has always timestamp 00:00 so it is also smaller than the utc time which was in my case 2023-03-02T04:00

* Actual fix, gotta remember it's the schedule tz
2023-03-03 14:02:02 +01:00
..
api Admin apps UI (#5494) 2022-12-07 14:47:02 -07:00
components Installed Apps page revamp (#2751) 2022-06-01 14:24:41 -03:00
lib Enforces explicit type imports (#7158) 2023-02-16 15:39:57 -07:00
pages/setup a11y: right-to-left improvements (#6235) 2023-01-04 07:38:45 +00:00
static added more app store screenshots (#4564) 2022-09-18 11:58:32 +00:00
_metadata.ts Fix app categories (#6016) 2022-12-20 15:15:06 -07:00
DESCRIPTION.md Replaces mdx-remote with markdown-it (#6326) 2023-01-08 00:05:35 +00:00
index.ts 🧹 One `calcom/ui` import to rule them all (#5561) 2022-11-22 19:55:25 -07:00
package.json Removed some of the UTC logic which shouldn't be there (#7425) 2023-03-03 14:02:02 +01:00