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 Type fixes 2022-05-17 15:32:54 -06:00
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 Availabilty consolitadion (#3010) 2022-06-10 12:38:46 -06:00
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 Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
classNames.ts Add ui package for reusable components (#1916) 2022-02-21 09:41:25 -07:00
clock.ts #4533: Show correct time format on booking page (#4771) 2022-09-30 14:45:28 +02:00
cropImage.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
ensureArray.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
getBooking.tsx HOTFIX: Removes disabled state from reminder phone input (reschedule) (#4322) 2022-09-09 15:01:37 -04:00
hasKeyInMetadata.ts WIP stripe customer metedada sync (#3153) 2022-07-07 15:24:42 -06:00
isBrandingHidden.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
isOutOfBounds.tsx Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
isPrismaObj.ts WIP stripe customer metedada sync (#3153) 2022-07-07 15:24:42 -06:00
jackson.ts Eslint fixes (#1898) 2022-02-18 16:53:45 +00:00
location.ts Fixes/locations (#2383) 2022-04-05 18:03:22 +00:00
parseDate.ts Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
parseZone.ts Consolidates dayjs in a single package 2022-06-28 14:48:24 -06:00
prisma.ts Admin/team billing downgrader (#2040) 2022-03-03 19:29:19 +00:00
profile.ts replaced gravatar default (#4158) 2022-09-05 10:23:39 +00:00
random.ts App Store (#1869) 2022-03-23 15:00:30 -07:00
saml.ts Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
slots.ts Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
slugify.ts Build fixes (#1929) 2022-02-21 18:45:35 +00:00