2013-09-30 5 views
-2

Jquery full calender 스케줄링 목적의 리소스 뷰를 사용 중이며 예상대로 작동하지만 크롬에 문제가 발생합니다.전체 캘린더의 이상한 동작

recourse view

당신은 명확 이벤트 시간은 18 일과 19 일에 같은 것을하는 볼 수 있지만 그것은 잘못된 순서로 이벤트를 표시합니다.
Plz ...이 문제를 해결할 수 있도록 도와주세요.

내 데이터베이스의 일부 gson 데이터가 있습니다.

{"allDay":"false","color":"","end":"2013-12-18T00:00","resource":10,"start":"2013-12-18T00:00","title":"01:00 to 08:00","__hashCodeCalc":false}, 
{"allDay":"false","color":"","end":"2013-12-18T00:00","resource":10,"start":"2013-12-18T00:00","title":"09:00 to 21:00","__hashCodeCalc":false}, 
{"allDay":"false","color":"","end":"2013-12-19T00:00","resource":10,"start":"2013-12-19T00:00","title":"01:00 to 08:00","__hashCodeCalc":false}, 
{"allDay":"false","color":"","end":"2013-12-19T00:00","resource":10,"start":"2013-12-19T00:00","title":"09:00 to 21:00","__hashCodeCalc":false} 

내 gson 데이터의 순서를 변경하려고 시도했지만 아무런 차이가 없습니다. 이 코드는 Firefox에서 올바르게 작동합니다.

+1

사용중인 코드/데이터 소스와 문제를 시연하는 jsfiddle을 (가능한 경우) 추가하십시오. – Joe

답변

0

크롬에서 시작 시간이 필요한 것으로 나타났습니다. 이벤트를 만들 때 데이터의 각 이벤트에 초를 더하면 간단하게 작동합니다. 예제.

{"allDay":"false","color":"","end":"2013-12-18T00:00:01-05:00","resource":10,"start":"2013-12-18T00:00:01-05:00","title":"01:00 to 08:00","__hashCodeCalc":false}, 
{"allDay":"false","color":"","end":"2013-12-18T00:00:01-05:00","resource":10,"start":"2013-12-18T00:00:01-05:00","title":"09:00 to 21:00","__hashCodeCalc":false} 

Gson 데이터를 변경하면 나에게 효과적 일 수 있습니다.