cal.pub0.org/apps/web/lib
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
..
auth
config V2 Main (#3549) 2022-08-24 14:18:42 -06:00
core Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
hooks Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
mutations/bookings
types Feat: Web3 Rainbowkit Integration (#4019) 2022-09-05 15:10:58 -06:00
webhooks Routing Forms Improvements - Rename routing_forms to routing-forms (#4546) 2022-09-22 22:53:43 +05:30
QueryCell.tsx add trpc v10 (#4683) 2022-09-29 16:58:29 +00:00
app-providers.tsx add trpc v10 (#4683) 2022-09-29 16:58:29 +00:00
asStringOrNull.tsx Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
auth.ts Improve 2fa: ask for code before account removal and 2fa disabling (#3817) 2022-08-31 14:57:53 -06:00
availability.ts
classNames.ts
clock.ts #4533: Show correct time format on booking page (#4771) 2022-09-30 14:45:28 +02:00
cropImage.ts
ensureArray.ts
getBooking.tsx HOTFIX: Removes disabled state from reminder phone input (reschedule) (#4322) 2022-09-09 15:01:37 -04:00
hasKeyInMetadata.ts
isBrandingHidden.tsx
isOutOfBounds.tsx
isPrismaObj.ts
jackson.ts
location.ts
parseDate.ts Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
parseZone.ts
prisma.ts
profile.ts replaced gravatar default (#4158) 2022-09-05 10:23:39 +00:00
random.ts
saml.ts
slots.ts
slugify.ts