Yes, you do need a comma between them:
In both DE and EN-GB locale the below *should* result in the calendar starting on ‘Mo’, according to my test environment.
daysOfTheWeek: ['Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa', 'So'],
weekOffset: 1
I am not sure why changing the locale has the effect it appears to be having with you. Either way, the above sould fix your specific error and I’ll look into the potential bug when I can.
Edit:
Sorry what I said above was wrong, getting myself confused here! Note the default locale is just “EN” – which is actually “EN-US”, where the week starts on Sunday as opposed to Monday. The above would actually begin on Dienstag/Tuesday for both “DE” and “EN-GB”. Basically, all you need to do is get rid of weekOffset
altogether, as the default formatting for your locale (“DE”) is how you would want already. I’m going to clear this up a future release.
-
This reply was modified 7 years, 10 months ago by i4nd90.
-
This reply was modified 7 years, 10 months ago by i4nd90.