cal.pub0.org/apps/web/components
Agusti Fernandez b860a79d59
Detect users browser locale for time format 12/24 hours (#1900)
* fix: adds new isBrowserLocal24h timeFormat util, uses in BookingPage

* fix: adds new time format locale detector in available times

* fix: removes 24h clock from availabletimes

* chore: move timeFormat to lib util, add to payment page

* chore: remove commented out is24h

* fix: adds timeFormat to success page

* fix: adds timeFormat to cancel page

* fix: adds timeFormat to video meeting ended/not started pages

* fix: removes added typo in success page

* fix: reverts back to use of is24h Switch in available times / time options, renames timeFormat to detectBrowserTimeFormat to avoid collisions

* fix: moves use uf isBrowserLocal24h() to clock util initClock() itself, by calling it only if no localStorage settings are set

* chore: move back timeFormat props to line it was so no change

* chore: remove empty line in timeOptions

* chore: move back timeFormat where it was in TimeOptions props

* chore: add back empty line before selectedTimeZone return

* fix: reverts back to use of is24h in payments page

* feat: adds browser locale as default in payment page in case there's no settings set by the customer

* feat: adds browser locale as default in success page

* fix: deconstruct props so eslint passes

* fix: lint issue for extra empty line in meeting-ended uid page

Co-authored-by: Agusti Fernandez <git@agusti.me>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-23 12:37:15 +00:00
..
auth Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
booking Detect users browser locale for time format 12/24 hours (#1900) 2022-02-23 12:37:15 +00:00
dialog Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
error Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
eventtype Second go at removing Zod generated classes from our repo (#1946) 2022-02-22 23:19:22 +00:00
form Runs prettier 2022-02-10 14:22:45 -07:00
integrations Adds BASE_URL to connectIntegrations (#1883) 2022-02-22 21:23:55 +00:00
pages/eventtypes Runs prettier 2022-02-10 14:22:45 -07:00
security Runs prettier 2022-02-10 14:22:45 -07:00
seo Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
team Type fixes 2022-02-10 14:22:45 -07:00
ui fixed avatar group and tooltip (#1950) 2022-02-23 11:09:22 +00:00
AddToHomescreen.tsx Runs prettier 2022-02-10 14:22:45 -07:00
BookingsShell.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
ClientSuspense.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
CustomBranding.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
DestinationCalendarSelector.tsx Runs prettier 2022-02-10 14:22:45 -07:00
Dialog.tsx added z-index for dialog (#1824) 2022-02-11 21:33:11 +00:00
EmptyScreen.tsx Runs prettier 2022-02-10 14:22:45 -07:00
I18nLanguageHandler.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
ImageUploader.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
List.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
Loader.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
Logo.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
NavTabs.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
SettingsShell.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
Shell.tsx Adds BASE_URL to callbackUrl in signup page and Shell component (#1882) 2022-02-21 13:09:56 -07:00
Slider.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
Swatch.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
Tooltip.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00