Skip to main content
All CollectionsTroubleshooting
API Requests with incorrect Timezones
API Requests with incorrect Timezones

API booking requests returning: The customer.timezone must be a valid zone.

d
Written by derrick mak
Updated over 3 years ago

Hi Timekit Travellers,

Officially supported Timezones are constantly changing. As a result, some timezones that used to be supported in Timekit may fail to work as we update to the newest standards.

If you send a request using a no-longer supported timezone, Timekit will respond with:

{

"errors": {

"customer.timezone": ["The customer.timezone must be a valid zone."]

}

}

when a booking is created via the /v2/bookings endpoint.

Some examples of no-longer supported timezones include

  • "timezone":"America/Montreal"

  • "timezone":"Etc/GMT"

  • "timezone": "US/Pacific"

  • "timezone":"US/Mountain"

  • "timezone": "Asia/Calcutta"

As an alternative to the above, you can use:

  • "timezone":"America/Montreal" -> "timezone":"America/New_York"

  • "timezone":"Etc/GMT" -> "timezone":"Africa/Abidjan"

  • "timezone": "US/Pacific" -> "timezone": "America/Los_Angeles"

  • "timezone":"US/Mountain" -> "timezone":"America/Denver"

  • "timezone": "Asia/Calcutta" -> "timezone": "Asia/Kolkata"

The entire list of supported timezones we use is the timezone database 2021.5 https://github.com/tzinfo/tzinfo-data/releases which is also listed here https://www.php.net/manual/en/timezones.php

You can also find the list of timezones no longer supported below as well:

Africa/Asmera

Africa/Timbuktu

America/Argentina/ComodRivadavia

America/Atka

America/Buenos_Aires

America/Catamarca

America/Coral_Harbour

America/Cordoba

America/Ensenada

America/Fort_Wayne

America/Godthab

America/Indianapolis

America/Jujuy

America/Knox_IN

America/Louisville

America/Mendoza

America/Montreal

America/Porto_Acre

America/Rosario

America/Santa_Isabel

America/Shiprock

America/Virgin

Antarctica/South_Pole

Asia/Ashkhabad

Asia/Calcutta

Asia/Chongqing

Asia/Chungking

Asia/Dacca

Asia/Harbin

Asia/Istanbul

Asia/Kashgar

Asia/Katmandu

Asia/Macao

Asia/Rangoon

Asia/Saigon

Asia/Tel_Aviv

Asia/Thimbu

Asia/Ujung_Pandang

Asia/Ulan_Bator

Atlantic/Faeroe

Atlantic/Jan_Mayen

Australia/ACT

Australia/Canberra

Australia/Currie

Australia/LHI

Australia/North

Australia/NSW

Australia/Queensland

Australia/South

Australia/Tasmania

Australia/Victoria

Australia/West

Australia/Yancowinna

Brazil/Acre

Brazil/DeNoronha

Brazil/East

Brazil/West

Canada/Atlantic

Canada/Central

Canada/Eastern

Canada/Mountain

Canada/Newfoundland

Canada/Pacific

Canada/Saskatchewan

Canada/Yukon

CET

Chile/Continental

Chile/EasterIsland

CST6CDT

Cuba

EET

Egypt

Eire

EST

EST5EDT

Etc/GMT

Etc/GMT+0

Etc/GMT+1

Etc/GMT+10

Etc/GMT+11

Etc/GMT+12

Etc/GMT+2

Etc/GMT+3

Etc/GMT+4

Etc/GMT+5

Etc/GMT+6

Etc/GMT+7

Etc/GMT+8

Etc/GMT+9

Etc/GMT-0

Etc/GMT-1

Etc/GMT-10

Etc/GMT-11

Etc/GMT-12

Etc/GMT-13

Etc/GMT-14

Etc/GMT-2

Etc/GMT-3

Etc/GMT-4

Etc/GMT-5

Etc/GMT-6

Etc/GMT-7

Etc/GMT-8

Etc/GMT-9

Etc/GMT0

Etc/Greenwich

Etc/UCT

Etc/Universal

Etc/UTC

Etc/Zulu

Europe/Belfast

Europe/Nicosia

Europe/Tiraspol

Factory

GB

GB-Eire

GMT

GMT+0

GMT-0

GMT0

Greenwich

Hongkong

HST

Iceland

Iran

Israel

Jamaica

Japan

Kwajalein

Libya

MET

Mexico/BajaNorte

Mexico/BajaSur

Mexico/General

MST

MST7MDT

Navajo

NZ

NZ-CHAT

Pacific/Enderbury

Pacific/Johnston

Pacific/Ponape

Pacific/Samoa

Pacific/Truk

Pacific/Yap

Poland

Portugal

PRC

PST8PDT

ROC

ROK

Singapore

Turkey

UCT

Universal

US/Alaska

US/Aleutian

US/Arizona

US/Central

US/East-Indiana

US/Eastern

US/Hawaii

US/Indiana-Starke

US/Michigan

US/Mountain

US/Pacific

US/Samoa

UTC

W-SU

WET

Zulu

Did this answer your question?