Scheduling infrastructure for absolutely everyone.
availability timezone fix (#1180)
Alex Johansson0a34512e3b4b
diff --git a/pages/[user]/[type].tsx b/pages/[user]/[type].tsxindex 7d3a0ce8910..2b8c0b1decf 100644--- a/pages/[user]/[type].tsx+++ b/pages/[user]/[type].tsx@@ -159,8 +159,8 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) =>availability && availability.length? availability.map((schedule) => ({...schedule,- startTime: schedule.startTime.getUTCHours() * 60 + schedule.startTime.getUTCMinutes(),- endTime: schedule.endTime.getUTCHours() * 60 + schedule.endTime.getUTCMinutes(),+ startTime: schedule.startTime.getHours() * 60 + schedule.startTime.getMinutes(),+ endTime: schedule.endTime.getHours() * 60 + schedule.endTime.getMinutes(),})): null;