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
Vue-datepicker-next version: 1.0.3 Vue version: 3.2.45 Browser: Chrome 114.0.5735.110
Can I change my week selection from monday to saturday. Default is from sunday to saturday ?
The text was updated successfully, but these errors were encountered:
Vue-datepicker-next version: 1.0.3 Vue version: 3.2.45 Browser: Chrome 114.0.5735.110 Can I change my week selection from monday to saturday. Default is from sunday to saturday ?
Use
formatLocale: { firstDayOfWeek: 1, },
Sorry, something went wrong.
Hey! I found solution. @goshku is wrong.
You need use code below:
const currentLocale = useI18n().locale.value // or 'en' hardcode, eg. const datePickerLocale = DatePicker.locale(currentLocale) datePickerLocale.formatLocale.firstDayOfWeek = 1 DatePicker.locale(currentLocale, datePickerLocale)
and use Datepicker as usual in your code 😉
No branches or pull requests
Vue-datepicker-next version: 1.0.3
Vue version: 3.2.45
Browser: Chrome 114.0.5735.110
Can I change my week selection from monday to saturday. Default is from sunday to saturday ?
The text was updated successfully, but these errors were encountered: