cal.pub0.org/packages/features/ee/payments
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
..
api Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
components #4533: Show correct time format on booking page (#4771) 2022-09-30 14:45:28 +02:00
pages Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
server Update all Yarn dependencies (2022-07-29) (#3599) 2022-08-17 11:38:21 -06:00