186 lines
11 KiB
JavaScript
186 lines
11 KiB
JavaScript
export const mockDeployFreezePayload = {
|
|
freeze_start: '0 12 * * 1-5',
|
|
freeze_end: '0 12 * * 6',
|
|
cron_timezone: 'Etc/UTC',
|
|
};
|
|
|
|
export const mockFreezePeriods = [
|
|
{
|
|
id: 3,
|
|
freeze_start: '5 4 * * *',
|
|
freeze_end: '5 9 * 8 *',
|
|
cron_timezone: 'Eastern Time (US & Canada)',
|
|
created_at: '2020-07-10T05:10:35.122Z',
|
|
updated_at: '2020-07-10T05:10:35.122Z',
|
|
},
|
|
{
|
|
id: 8,
|
|
freeze_start: '0 12 * * 1-5',
|
|
freeze_end: '0 1 5 * *',
|
|
cron_timezone: 'Mountain Time (US & Canada)',
|
|
created_at: '2020-07-10T19:27:57.378Z',
|
|
updated_at: '2020-07-10T19:27:57.378Z',
|
|
},
|
|
{
|
|
id: 9,
|
|
freeze_start: '0 12 * * 1-5',
|
|
freeze_end: '0 16 * * 6',
|
|
cron_timezone: 'Central Time (US & Canada)',
|
|
created_at: '2020-07-10T19:29:15.240Z',
|
|
updated_at: '2020-07-10T19:29:15.240Z',
|
|
},
|
|
];
|
|
|
|
export const mockTimezoneData = [
|
|
{ name: 'International Date Line West', offset: -43200, identifier: 'Etc/GMT+12' },
|
|
{ name: 'American Samoa', offset: -39600, identifier: 'Pacific/Pago_Pago' },
|
|
{ name: 'Midway Island', offset: -39600, identifier: 'Pacific/Midway' },
|
|
{ name: 'Hawaii', offset: -36000, identifier: 'Pacific/Honolulu' },
|
|
{ name: 'Alaska', offset: -28800, identifier: 'America/Juneau' },
|
|
{ name: 'Pacific Time (US & Canada)', offset: -25200, identifier: 'America/Los_Angeles' },
|
|
{ name: 'Tijuana', offset: -25200, identifier: 'America/Tijuana' },
|
|
{ name: 'Arizona', offset: -25200, identifier: 'America/Phoenix' },
|
|
{ name: 'Chihuahua', offset: -21600, identifier: 'America/Chihuahua' },
|
|
{ name: 'Mazatlan', offset: -21600, identifier: 'America/Mazatlan' },
|
|
{ name: 'Mountain Time (US & Canada)', offset: -21600, identifier: 'America/Denver' },
|
|
{ name: 'Central America', offset: -21600, identifier: 'America/Guatemala' },
|
|
{ name: 'Central Time (US & Canada)', offset: -18000, identifier: 'America/Chicago' },
|
|
{ name: 'Guadalajara', offset: -18000, identifier: 'America/Mexico_City' },
|
|
{ name: 'Mexico City', offset: -18000, identifier: 'America/Mexico_City' },
|
|
{ name: 'Monterrey', offset: -18000, identifier: 'America/Monterrey' },
|
|
{ name: 'Saskatchewan', offset: -21600, identifier: 'America/Regina' },
|
|
{ name: 'Bogota', offset: -18000, identifier: 'America/Bogota' },
|
|
{ name: 'Eastern Time (US & Canada)', offset: -14400, identifier: 'America/New_York' },
|
|
{ name: 'Indiana (East)', offset: -14400, identifier: 'America/Indiana/Indianapolis' },
|
|
{ name: 'Lima', offset: -18000, identifier: 'America/Lima' },
|
|
{ name: 'Quito', offset: -18000, identifier: 'America/Lima' },
|
|
{ name: 'Atlantic Time (Canada)', offset: -10800, identifier: 'America/Halifax' },
|
|
{ name: 'Caracas', offset: -14400, identifier: 'America/Caracas' },
|
|
{ name: 'Georgetown', offset: -14400, identifier: 'America/Guyana' },
|
|
{ name: 'La Paz', offset: -14400, identifier: 'America/La_Paz' },
|
|
{ name: 'Puerto Rico', offset: -14400, identifier: 'America/Puerto_Rico' },
|
|
{ name: 'Santiago', offset: -14400, identifier: 'America/Santiago' },
|
|
{ name: 'Newfoundland', offset: -9000, identifier: 'America/St_Johns' },
|
|
{ name: 'Brasilia', offset: -10800, identifier: 'America/Sao_Paulo' },
|
|
{ name: 'Buenos Aires', offset: -10800, identifier: 'America/Argentina/Buenos_Aires' },
|
|
{ name: 'Greenland', offset: -7200, identifier: 'America/Godthab' },
|
|
{ name: 'Montevideo', offset: -10800, identifier: 'America/Montevideo' },
|
|
{ name: 'Mid-Atlantic', offset: -7200, identifier: 'Atlantic/South_Georgia' },
|
|
{ name: 'Azores', offset: 0, identifier: 'Atlantic/Azores' },
|
|
{ name: 'Cape Verde Is.', offset: -3600, identifier: 'Atlantic/Cape_Verde' },
|
|
{ name: 'Casablanca', offset: 3600, identifier: 'Africa/Casablanca' },
|
|
{ name: 'Dublin', offset: 3600, identifier: 'Europe/Dublin' },
|
|
{ name: 'Edinburgh', offset: 3600, identifier: 'Europe/London' },
|
|
{ name: 'Lisbon', offset: 3600, identifier: 'Europe/Lisbon' },
|
|
{ name: 'London', offset: 3600, identifier: 'Europe/London' },
|
|
{ name: 'Monrovia', offset: 0, identifier: 'Africa/Monrovia' },
|
|
{ name: 'UTC', offset: 0, identifier: 'Etc/UTC' },
|
|
{ name: 'Amsterdam', offset: 7200, identifier: 'Europe/Amsterdam' },
|
|
{ name: 'Belgrade', offset: 7200, identifier: 'Europe/Belgrade' },
|
|
{ name: 'Berlin', offset: 7200, identifier: 'Europe/Berlin' },
|
|
{ name: 'Bern', offset: 7200, identifier: 'Europe/Zurich' },
|
|
{ name: 'Bratislava', offset: 7200, identifier: 'Europe/Bratislava' },
|
|
{ name: 'Brussels', offset: 7200, identifier: 'Europe/Brussels' },
|
|
{ name: 'Budapest', offset: 7200, identifier: 'Europe/Budapest' },
|
|
{ name: 'Copenhagen', offset: 7200, identifier: 'Europe/Copenhagen' },
|
|
{ name: 'Ljubljana', offset: 7200, identifier: 'Europe/Ljubljana' },
|
|
{ name: 'Madrid', offset: 7200, identifier: 'Europe/Madrid' },
|
|
{ name: 'Paris', offset: 7200, identifier: 'Europe/Paris' },
|
|
{ name: 'Prague', offset: 7200, identifier: 'Europe/Prague' },
|
|
{ name: 'Rome', offset: 7200, identifier: 'Europe/Rome' },
|
|
{ name: 'Sarajevo', offset: 7200, identifier: 'Europe/Sarajevo' },
|
|
{ name: 'Skopje', offset: 7200, identifier: 'Europe/Skopje' },
|
|
{ name: 'Stockholm', offset: 7200, identifier: 'Europe/Stockholm' },
|
|
{ name: 'Vienna', offset: 7200, identifier: 'Europe/Vienna' },
|
|
{ name: 'Warsaw', offset: 7200, identifier: 'Europe/Warsaw' },
|
|
{ name: 'West Central Africa', offset: 3600, identifier: 'Africa/Algiers' },
|
|
{ name: 'Zagreb', offset: 7200, identifier: 'Europe/Zagreb' },
|
|
{ name: 'Zurich', offset: 7200, identifier: 'Europe/Zurich' },
|
|
{ name: 'Athens', offset: 10800, identifier: 'Europe/Athens' },
|
|
{ name: 'Bucharest', offset: 10800, identifier: 'Europe/Bucharest' },
|
|
{ name: 'Cairo', offset: 7200, identifier: 'Africa/Cairo' },
|
|
{ name: 'Harare', offset: 7200, identifier: 'Africa/Harare' },
|
|
{ name: 'Helsinki', offset: 10800, identifier: 'Europe/Helsinki' },
|
|
{ name: 'Jerusalem', offset: 10800, identifier: 'Asia/Jerusalem' },
|
|
{ name: 'Kaliningrad', offset: 7200, identifier: 'Europe/Kaliningrad' },
|
|
{ name: 'Kyiv', offset: 10800, identifier: 'Europe/Kiev' },
|
|
{ name: 'Pretoria', offset: 7200, identifier: 'Africa/Johannesburg' },
|
|
{ name: 'Riga', offset: 10800, identifier: 'Europe/Riga' },
|
|
{ name: 'Sofia', offset: 10800, identifier: 'Europe/Sofia' },
|
|
{ name: 'Tallinn', offset: 10800, identifier: 'Europe/Tallinn' },
|
|
{ name: 'Vilnius', offset: 10800, identifier: 'Europe/Vilnius' },
|
|
{ name: 'Baghdad', offset: 10800, identifier: 'Asia/Baghdad' },
|
|
{ name: 'Istanbul', offset: 10800, identifier: 'Europe/Istanbul' },
|
|
{ name: 'Kuwait', offset: 10800, identifier: 'Asia/Kuwait' },
|
|
{ name: 'Minsk', offset: 10800, identifier: 'Europe/Minsk' },
|
|
{ name: 'Moscow', offset: 10800, identifier: 'Europe/Moscow' },
|
|
{ name: 'Nairobi', offset: 10800, identifier: 'Africa/Nairobi' },
|
|
{ name: 'Riyadh', offset: 10800, identifier: 'Asia/Riyadh' },
|
|
{ name: 'St. Petersburg', offset: 10800, identifier: 'Europe/Moscow' },
|
|
{ name: 'Tehran', offset: 16200, identifier: 'Asia/Tehran' },
|
|
{ name: 'Abu Dhabi', offset: 14400, identifier: 'Asia/Muscat' },
|
|
{ name: 'Baku', offset: 14400, identifier: 'Asia/Baku' },
|
|
{ name: 'Muscat', offset: 14400, identifier: 'Asia/Muscat' },
|
|
{ name: 'Samara', offset: 14400, identifier: 'Europe/Samara' },
|
|
{ name: 'Tbilisi', offset: 14400, identifier: 'Asia/Tbilisi' },
|
|
{ name: 'Volgograd', offset: 14400, identifier: 'Europe/Volgograd' },
|
|
{ name: 'Yerevan', offset: 14400, identifier: 'Asia/Yerevan' },
|
|
{ name: 'Kabul', offset: 16200, identifier: 'Asia/Kabul' },
|
|
{ name: 'Ekaterinburg', offset: 18000, identifier: 'Asia/Yekaterinburg' },
|
|
{ name: 'Islamabad', offset: 18000, identifier: 'Asia/Karachi' },
|
|
{ name: 'Karachi', offset: 18000, identifier: 'Asia/Karachi' },
|
|
{ name: 'Tashkent', offset: 18000, identifier: 'Asia/Tashkent' },
|
|
{ name: 'Chennai', offset: 19800, identifier: 'Asia/Kolkata' },
|
|
{ name: 'Kolkata', offset: 19800, identifier: 'Asia/Kolkata' },
|
|
{ name: 'Mumbai', offset: 19800, identifier: 'Asia/Kolkata' },
|
|
{ name: 'New Delhi', offset: 19800, identifier: 'Asia/Kolkata' },
|
|
{ name: 'Sri Jayawardenepura', offset: 19800, identifier: 'Asia/Colombo' },
|
|
{ name: 'Kathmandu', offset: 20700, identifier: 'Asia/Kathmandu' },
|
|
{ name: 'Almaty', offset: 21600, identifier: 'Asia/Almaty' },
|
|
{ name: 'Astana', offset: 21600, identifier: 'Asia/Dhaka' },
|
|
{ name: 'Dhaka', offset: 21600, identifier: 'Asia/Dhaka' },
|
|
{ name: 'Urumqi', offset: 21600, identifier: 'Asia/Urumqi' },
|
|
{ name: 'Rangoon', offset: 23400, identifier: 'Asia/Rangoon' },
|
|
{ name: 'Bangkok', offset: 25200, identifier: 'Asia/Bangkok' },
|
|
{ name: 'Hanoi', offset: 25200, identifier: 'Asia/Bangkok' },
|
|
{ name: 'Jakarta', offset: 25200, identifier: 'Asia/Jakarta' },
|
|
{ name: 'Krasnoyarsk', offset: 25200, identifier: 'Asia/Krasnoyarsk' },
|
|
{ name: 'Novosibirsk', offset: 25200, identifier: 'Asia/Novosibirsk' },
|
|
{ name: 'Beijing', offset: 28800, identifier: 'Asia/Shanghai' },
|
|
{ name: 'Chongqing', offset: 28800, identifier: 'Asia/Chongqing' },
|
|
{ name: 'Hong Kong', offset: 28800, identifier: 'Asia/Hong_Kong' },
|
|
{ name: 'Irkutsk', offset: 28800, identifier: 'Asia/Irkutsk' },
|
|
{ name: 'Kuala Lumpur', offset: 28800, identifier: 'Asia/Kuala_Lumpur' },
|
|
{ name: 'Perth', offset: 28800, identifier: 'Australia/Perth' },
|
|
{ name: 'Singapore', offset: 28800, identifier: 'Asia/Singapore' },
|
|
{ name: 'Taipei', offset: 28800, identifier: 'Asia/Taipei' },
|
|
{ name: 'Ulaanbaatar', offset: 28800, identifier: 'Asia/Ulaanbaatar' },
|
|
{ name: 'Osaka', offset: 32400, identifier: 'Asia/Tokyo' },
|
|
{ name: 'Sapporo', offset: 32400, identifier: 'Asia/Tokyo' },
|
|
{ name: 'Seoul', offset: 32400, identifier: 'Asia/Seoul' },
|
|
{ name: 'Tokyo', offset: 32400, identifier: 'Asia/Tokyo' },
|
|
{ name: 'Yakutsk', offset: 32400, identifier: 'Asia/Yakutsk' },
|
|
{ name: 'Adelaide', offset: 34200, identifier: 'Australia/Adelaide' },
|
|
{ name: 'Darwin', offset: 34200, identifier: 'Australia/Darwin' },
|
|
{ name: 'Brisbane', offset: 36000, identifier: 'Australia/Brisbane' },
|
|
{ name: 'Canberra', offset: 36000, identifier: 'Australia/Melbourne' },
|
|
{ name: 'Guam', offset: 36000, identifier: 'Pacific/Guam' },
|
|
{ name: 'Hobart', offset: 36000, identifier: 'Australia/Hobart' },
|
|
{ name: 'Melbourne', offset: 36000, identifier: 'Australia/Melbourne' },
|
|
{ name: 'Port Moresby', offset: 36000, identifier: 'Pacific/Port_Moresby' },
|
|
{ name: 'Sydney', offset: 36000, identifier: 'Australia/Sydney' },
|
|
{ name: 'Vladivostok', offset: 36000, identifier: 'Asia/Vladivostok' },
|
|
{ name: 'Magadan', offset: 39600, identifier: 'Asia/Magadan' },
|
|
{ name: 'New Caledonia', offset: 39600, identifier: 'Pacific/Noumea' },
|
|
{ name: 'Solomon Is.', offset: 39600, identifier: 'Pacific/Guadalcanal' },
|
|
{ name: 'Srednekolymsk', offset: 39600, identifier: 'Asia/Srednekolymsk' },
|
|
{ name: 'Auckland', offset: 43200, identifier: 'Pacific/Auckland' },
|
|
{ name: 'Fiji', offset: 43200, identifier: 'Pacific/Fiji' },
|
|
{ name: 'Kamchatka', offset: 43200, identifier: 'Asia/Kamchatka' },
|
|
{ name: 'Marshall Is.', offset: 43200, identifier: 'Pacific/Majuro' },
|
|
{ name: 'Wellington', offset: 43200, identifier: 'Pacific/Auckland' },
|
|
{ name: 'Chatham Is.', offset: 45900, identifier: 'Pacific/Chatham' },
|
|
{ name: "Nuku'alofa", offset: 46800, identifier: 'Pacific/Tongatapu' },
|
|
{ name: 'Samoa', offset: 46800, identifier: 'Pacific/Apia' },
|
|
{ name: 'Tokelau Is.', offset: 46800, identifier: 'Pacific/Fakaofo' },
|
|
];
|