logo

/repo|v1.15.2

Typedef

Zone:

object

calendar.jsline 556

PROPERTIES
NameTypeDescription

timezoneName

[ string ]

timezone name (time zone names of the IANA time zone database, such as 'Asia/Seoul', 'America/New_York').
Basically, it will calculate the offset using 'Intl.DateTimeFormat' with the value of the this property entered.
This property is required.

displayLabel

[ string ]

The display label of your timezone at weekly/daily view(e.g. 'GMT+09:00')

tooltip

[ string ]

The tooltip(e.g. 'Seoul')

timezoneOffset

[ number ]

The minutes for your timezone offset. If null, use the browser's timezone. Refer to Date.prototype.getTimezoneOffset().
This property will be deprecated. (since version 1.13)

EXAMPLES
var cal = new Calendar('#calendar', {
  timezone: {
    zones: [
      {
        timezoneName: 'Asia/Seoul',
        displayLabel: 'GMT+09:00',
        tooltip: 'Seoul'
      },
      {
        timezoneName: 'America/New_York',
        displayLabel: 'GMT-05:00',
        tooltip: 'New York',
      }
    ],
  }
});
Resizable