cal.pub0.org/packages/features
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
..
apps FIXME 2023-02-20 14:32:56 -07:00
auth Enforces explicit type imports (#7158) 2023-02-16 15:39:57 -07:00
bookings Feature/ Manage Booking Questions (#6560) 2023-03-02 11:15:28 -07:00
calendars Add destination calendar name to DestinationCalendarSelector (#6701) 2023-02-27 11:47:21 -07:00
conferencing Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
ee Tree shake icons (#7051) 2023-03-02 13:56:10 -07:00
eventtypes Editor for event type description (#7450) 2023-03-02 12:55:25 -07:00
form-builder Feature/ Manage Booking Questions (#6560) 2023-03-02 11:15:28 -07:00
kbar Admin Wizard Choose License (#6574) 2023-02-07 17:23:42 -07:00
links Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
schedules Removed some of the UTC logic which shouldn't be there (#7425) 2023-03-03 14:02:02 +01:00
settings Update settings back button redirect link (#7403) 2023-02-25 12:07:41 -07:00
shell Fixed href's to go to the right place (#7377) 2023-02-24 11:39:09 -07:00
tips added cal video to Tips.tsx (#7268) 2023-02-21 17:48:52 -07:00
users Upgrade to next 13.1 (#6265) 2023-01-06 12:13:56 +00:00
webhooks fix custom workflow template (#7154) 2023-02-17 13:21:11 +00:00
index.ts Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
package.json Calendar Weekly Scheduler (#5653) 2022-12-14 13:36:10 +00:00
tsconfig.json Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00