cal/apps/web
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
..
components Removed some of the UTC logic which shouldn't be there (#7425) 2023-03-03 14:02:02 +01:00
docs
fonts feat: use `@next/font` for font loading (#6346) 2023-02-17 18:53:17 +01:00
lib Feature/ Manage Booking Questions (#6560) 2023-03-02 11:15:28 -07:00
pages Removed some of the UTC logic which shouldn't be there (#7425) 2023-03-03 14:02:02 +01:00
playwright Feature/ Manage Booking Questions (#6560) 2023-03-02 11:15:28 -07:00
public Feature/ Manage Booking Questions (#6560) 2023-03-02 11:15:28 -07:00
scripts
server/lib refactor: cleanup use of rawInput and pipe mdwr in trpc router (#7422) 2023-02-28 14:40:19 -07:00
styles added pwa: extension for standalone, lots of mobile improvements (#7218) 2023-02-20 15:11:51 +01:00
test Filter Timezones by cities (#7118) 2023-03-02 13:42:41 -07:00
.eslintignore
.gitignore Bugfix/revert e5ba8616 (#5479) 2022-11-11 09:47:11 +00:00
.nvmrc chore(web): update .nvmrc to node 16 (#6214) 2023-01-04 15:20:05 -07:00
calendso.yaml Deprecated API endpoints cleanup (#5478) 2022-11-11 19:54:44 +00:00
middleware.ts Enforces explicit type imports (#7158) 2023-02-16 15:39:57 -07:00
next-i18next.config.js
next.config.js Tree shake icons (#7051) 2023-03-02 13:56:10 -07:00
package.json Removed some of the UTC logic which shouldn't be there (#7425) 2023-03-03 14:02:02 +01:00
postcss.config.js
project.toml
sentry.client.config.js Bugfix/revert e5ba8616 (#5479) 2022-11-11 09:47:11 +00:00
sentry.properties Bugfix/revert e5ba8616 (#5479) 2022-11-11 09:47:11 +00:00
sentry.server.config.js Bugfix/revert e5ba8616 (#5479) 2022-11-11 09:47:11 +00:00
tailwind.config.js Revert "experiment: disco border (#6531)" 2023-01-18 19:29:36 +00:00
tsconfig.json Routing Forms Improvements - Rename routing_forms to routing-forms (#4546) 2022-09-22 22:53:43 +05:30