Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
50
rated 0 times [  52] [ 2]  / answers: 1 / hits: 26130  / 13 Years ago, tue, february 28, 2012, 12:00:00

I am trying to make the date format of FullCalendar dd/mm. How can I do this? I found [this][1] method, but I am not really sure how to edit it in my case. I am trying to make it so that in the dayView, the header shows the date in dd/mm format, rather than the current mm/dd American format.



Is it possible to do this?


More From » jquery

 Answers
2

Check out this link



http://arshaw.com/fullcalendar/docs/text/titleFormat/



You can specify which view you want to edit through this (in your case the day view)



http://arshaw.com/fullcalendar/docs/views/View_Option_Hash/



So you would probably have something along the lines of



titleFormat: {

day: 'dddd, d MMM, yyyy' //whatever date format you want here
}

[#87158] Monday, February 27, 2012, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
skylerselenem

Total Points: 282
Total Questions: 101
Total Answers: 107

Location: Nicaragua
Member since Tue, Dec 8, 2020
4 Years ago
;