cal.pub0.org/apps/web/components/booking
Jeroen Reumkens 6d45e1c7c7
#4533: Show correct time format on booking page (#4771)
* #4533: Store timeformat preferences in localstorage when changing profile. This way you see the correct format on the booking page. Also abstracted the reuse of the localstorage key for timeformat into a small util function, to prevent typos in the future.

* Update apps/web/components/booking/pages/AvailabilityPage.tsx

* 4533: Changed 24hfromlocalstorage values from strings to real booleans for better DX.

* Update apps/web/lib/clock.ts

Co-authored-by: alannnc <alannnc@gmail.com>

* Make code shorter by only handling remaining cases

Co-authored-by: alannnc <alannnc@gmail.com>

* Remove unnecessary boolean check

Co-authored-by: alannnc <alannnc@gmail.com>

Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: alannnc <alannnc@gmail.com>
2022-09-30 14:45:28 +02:00
..
pages #4533: Show correct time format on booking page (#4771) 2022-09-30 14:45:28 +02:00
AvailableEventLocations.tsx Public Booking Pages (#4063) 2022-09-02 21:16:36 +00:00
AvailableTimes.tsx Feat: Web3 Rainbowkit Integration (#4019) 2022-09-05 15:10:58 -06:00
BookingListItem.tsx #4445: Fix to prevent bookings with long titles or a lot of content from overflowing on the page. (#4769) 2022-09-30 11:47:20 +01:00
CancelBooking.tsx fix: cancel booking buttons design (#3748) 2022-08-09 14:23:55 -04:00
SkeletonLoader.tsx Refactor skeleton loader files to v2 folders (#4447) 2022-09-14 10:35:40 +00:00
TimeOptions.tsx fix: add checked tranform for switch (#4357) 2022-09-10 17:52:35 +00:00
UserAvatars.tsx fixed dark mode avatar border (#4161) 2022-09-05 12:27:40 +02:00