Hi guys,
I am running temporal on Windows 10 for development. When I start a schedule with a time zone, getting this error
TypeError: unknown time zone Asia/Bangkok
Asia/Bangkok is a valid timezone according to Wiki. Am I missing something?
const timezone = 'Asia/Bangkok';
// https://typescript.temporal.io/api/classes/client.ScheduleClient#create
const scheduleOptions: ScheduleOptions = {
action: {
..
},
scheduleId: ..,
policies: {
..
},
spec: {
timezone: timezone,
calendars: [
{
dayOfWeek: dayOfWeek,
hour: hour,
minute: minute,
},
]
};
console.log(`scheduleOptions: ${scheduleOptions}`)
const schedule = await client.schedule.create(scheduleOptions);