Skip to main content

Format

Date format

You can customize the date format by setting the dateFormat option.



new SnowDatePicker('#element', { dateFormat: 'YY % MM % DD' });

Title format



new SnowDatePicker('#element', {
titleFormat: { days: '[<b>]YYYY[</b>] MM', months: 'YY' },
inline: true,
});