Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing the format of the day title in weekview

How can I change the formatting of the date in Fullcalendar -> weekview.
It now says:

Sun 7/24  Mon 7/25  Tue 7/26  Wed 7/27 Thu 7/28 Fri 7/29  Sat 7/30

I want to switch month and day around so it says

Sun 24/7  Mon 25/7  Tue 26/7 Wed 27/7 Thu 28/7 Fri 29/7  Sat 30/7  

which is the way our users are used to in the country where I live/work.

like image 546
kvs Avatar asked Dec 13 '22 10:12

kvs


1 Answers

I have found a solution:

columnFormat: {
    month: 'ddd',
    week: 'ddd d/M',
    day: 'dddd d/M'
},
like image 110
kvs Avatar answered Jan 04 '23 00:01

kvs