Skip to content
New issue

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

When i use mobiscroll range calendar, second date is not looking in proper format. something like this (Dim. 24 Mars) #460

Closed
adnan50 opened this issue Mar 16, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@adnan50
Copy link

commented Mar 16, 2019

I am using French language in mobicalendar
` $(".demo-mobile").mobiscroll().range({

dateFormat: 'D d M',
startInput: '#start',
endInput: '#end',
display: 'inline',
// autoCorrect:true,
touchUi:true,
});`

@adnan50 adnan50 changed the title When i use mobiscroll range, second date is not looking in proper format. something like this (Dim. 24 Mars) When i use mobiscroll range calendar, second date is not looking in proper format. something like this (Dim. 24 Mars) Mar 16, 2019

@dioslaska

This comment has been minimized.

Copy link
Contributor

commented Mar 19, 2019

Thanks for reporting, this is an issue inside the french translation files. Will be fixed in 4.6.1.
Until than you can use the following drop-in fix (before any component initialization):

mobiscroll.i18n.fr.dayNames[0] = 'Dimanche';
mobiscroll.i18n.fr.dayNamesShort[0] = 'Dim.';
mobiscroll.i18n.fr.dayNamesMin[0] = 'D';
@dioslaska

This comment has been minimized.

Copy link
Contributor

commented Mar 21, 2019

Fixed in 4.6.1

@dioslaska dioslaska closed this Mar 21, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.