We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I still don't understand how to localize a calendar. Could you provide an example?
The text was updated successfully, but these errors were encountered:
This code working: rome(rome_d, { weekStart: 1, initialValue: '2023-04-11 00:00', time: false, weekdayFormat: ['Нд','Пн','Вт','ср','Чт','Пт','Сб'] }); But this don't rome(rome_d, { weekStart: 1, initialValue: '2023-04-11 00:00', time: false, weekdayFormat: ['Нд','Пн','Вт','ср','Чт','Пт','Сб'], monthFormat: ['Січень','Лютий','Березень','Квітень','Травень','Червень','Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'] });
rome(rome_d, { weekStart: 1, initialValue: '2023-04-11 00:00', time: false, weekdayFormat: ['Нд','Пн','Вт','ср','Чт','Пт','Сб'] });
rome(rome_d, { weekStart: 1, initialValue: '2023-04-11 00:00', time: false, weekdayFormat: ['Нд','Пн','Вт','ср','Чт','Пт','Сб'], monthFormat: ['Січень','Лютий','Березень','Квітень','Травень','Червень','Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'] });
Sorry, something went wrong.
You can basically do something like this:
let moment = require('moment') import rome from '@bevacqua/rome/dist/rome.js' import '@bevacqua/rome/dist/rome.css' let locale = document.body.dataset.locale moment.locale(locale) rome.use(moment) const datePicker = rome(element, { time: false })
Note that I did not package the code as a component for demonstration purpose. You can adjust it to your setup.
No branches or pull requests
I still don't understand how to localize a calendar. Could you provide an example?
The text was updated successfully, but these errors were encountered: