| Issue 769: | timeFormat brackets think same day-of-week is same day | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I have the following line in my code:
timeFormat: "[ddd ]HH:mm{ - [ddd ]HH:mm}",
All of my events are allDay: false, even those, which include multiple days.
When an events 'start' and 'end' are on different days, timeFormat works great, but when an event is from Friday to Friday, the letters arent displayed in the event headline.
I think it's because you only check wheter the number_of_day_in_week is the same.
Anyways, your calendar is great, thank you for making it.
Dec 31, 2010
Hello!
The even JSON:
[{
"title":"D\u00e1vid kir\u00e1ly",
"start":"2011-06-24 19:00:00",
"end":"2011-07-01 18:00:00",
"className":"someclass",
"url":"index.php?module=somemodule&action=show_one&id=8",
"description":"somedescription"
}]
the title it displayed: "19:00 - 18:00 Dávid Király"
the expected title: "P 19:00 - P 18:00 Dávid Király" (P stands for Péntek, which is Friday in hungarian)
((If an event starts and ends on the same day, it displays only hours - which is good.
Also if an event is eg. from monday 10:00, to friday 16:00, the displayed title is:
"M 10:00 - F 16:00 Sometitle" - which is also good.))
I hope I provided enough information, thanks for checking.
BTW: Happy New Year!
Jan 1, 2011
thanks for the info. i see what's going on. as you said, fullcalendar thinks they are the same friday. this might be a tricky bug to solve from a programming perspective. your best bet for now would be to make your format "ddd HH:mm{ - [ddd ]HH:mm}", but that might not be exactly what you want, sorry.
i'll get to fixing the root cause eventually...
Summary:
timeFormat bracket problem
Status: Accepted
Aug 13, 2013
(No comment was entered for this change.)
Summary:
timeFormat brackets think same day-of-week is same day
(was: timeFormat bracket problem)
Labels: -Type-Defect Type-Bug
Sep 1, 2013
(No comment was entered for this change.)
Labels:
milestone-date
May 25, 2014
this bug no longer applies in version 2 (in github v2 branch), because the formatRange {} characters don't exist anymore. It is inferred.
http://arshaw.com/fullcalendar/wiki/Upgrading-to-2/
http://arshaw.com/fullcalendar/docs2/utilities/formatRange/
will release soon
Status:
Implemented
Jun 2, 2014
version 2 has been released with this change. http://blog.arshaw.com/1/post/2014/06/fullcalendar-2-released.html
Status:
Released
|
|
| ► Sign in to add a comment |
Labels: Type-Defect