* add eastern and eastern pacific timezones * fixed issue while running tests. * fix: Find Braz..il instead of Brasil --------- Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
1 parent
711bec8d71
commit
b1cd3e940e
5 files changed
+181
-28
No files matched your search
@@ -3,6 +3,7 @@ import type { ITimezoneOption } from "react-timezone-select";
|
||||
import dayjs from "@calcom/dayjs";
|
||||
import type { ICity } from "@calcom/ui/components/form/timezone-select";
|
||||
|
||||
import { timezones as additionalTimezones } from "../features/additionalTimezones/additionalTimezones";
|
||||
import isProblematicTimezone from "./isProblematicTimezone";
|
||||
|
||||
function findPartialMatch(itemsToSearch: string, searchString: string) {
|
||||
@@ -30,6 +31,11 @@ export const addCitiesToDropdown = (cities: ICity[]) => {
|
||||
}
|
||||
return acc;
|
||||
}, {});
|
||||
|
||||
additionalTimezones.forEach((tz) => {
|
||||
cityTimezones[tz.identifier] = tz.name;
|
||||
});
|
||||
|
||||
return cityTimezones || {};
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user