ProSchedulerSign in

Scheduler · Configuring the view

Multiple time zones

timezones adds a time column per zone beside the gutter, so the same row reads in San Francisco, New York, Tokyo and Lisbon.

Live demo

Find a slot inside everyone's working day

Fullscreen
import { ProScheduler } from "@andreisaac/pro-scheduler"
import { dataZone, globalMeetings, globalTeam } from "./data/global"
import { useEvents } from "./kit"

export function MultipleTimezonesDemo() {
  const { events, handlers } = useEvents(() => globalMeetings())
  return (
    <ProScheduler
      data={events}
      resources={globalTeam}
      dataTimezone={dataZone}
      displayTimezone="Europe/Lisbon"
      view={{
        scheduler: {
          type: "week",
          timezones: [
            { timezone: "America/Los_Angeles", label: "SF" },
            { timezone: "America/New_York", label: "NY" },
            { timezone: "Asia/Tokyo", label: "Tokyo" },
          ],
        },
      }}
      styleConfig={{ timeGutterWidth: 56 }}
      height={620}
      {...handlers}
    />
  )
}

About this demo

timezones adds a time column per zone beside the gutter, so the same row reads in San Francisco, New York, Tokyo and Lisbon.

Things to try

  • Find a slot inside everyone's working day

The props behind it are explained in Recurrence, time zones and order.

Use ProScheduler in your project