Skip to content

Calendar Systems

Vue DatePicker supports multiple calendar systems, powered by the robust @internationalized/date package for internationalized date handling.

Supported Calendar Systems

Calendar SystemIdentifierRegion/Usage
GregoriangregoryInternational (Default)
Republic of ChinarocTaiwan
BuddhistbuddhistBuddhist Countries
JapanesejapaneseJapan
Islamicislamic-civilIslamic Countries
PersianpersianIran
HebrewhebrewIsrael
IndianindianIndia
Othersethiopic, coptic etcSpecific Regions

Basic Usage

--
v-model:

Use the interactive example above to experience the display effects of different calendar systems and languages.

Important Notes

  • Date and time input functionality only supports the gregory calendar system
  • Output format defaults to iso, use custom for localized formats
  • For advanced ROC formatting, see ROC Formatting Plugin

Year Range Limitations

Different calendar systems have their own valid year ranges:

CalendarMin YearMax YearDescription
Gregory1Current+100Gregorian era
ROC1912Current+100ROC Year 1 corresponds to 1912 CE
Buddhist544Current+643Buddhist era is 543 years earlier than Gregorian
Japanese1868Current+100Starting from Meiji Restoration
Islamic622Current+100Islamic era
Persian622Current+100Persian era
Hebrew1Current+3860Hebrew era
OthersSystem dependentSee @internationalized/date docs

Notice

  • Dates outside the valid range may cause unpredictable behavior
  • Not all browsers fully support all calendar systems
  • It's recommended to test compatibility with target browsers in production
  • Unsupported environments will automatically fallback to Gregorian calendar

API Reference

PropertyTypeDefaultDescription
calendarstring'gregory'Calendar system identifier
localestring'zh-TW'Language localization setting
output-type'iso' | 'date' | 'object' | 'custom''iso'Output format type