javascript - FullCalendar wrong end time when render events -


on screenshot below can see event starts 8am-7pm:

enter image description here

the start time correct on 8am, end time misses somewhere 4pm.

my event object this:

_end      moment { _isamomentobject=true, _isutc=true, _i="2014-08-19t19:00:00+00:00", more...}  _start      moment { _isamomentobject=true, _isutc=true, _i="2014-08-19t08:00:00+00:00", more...}  allday      false  end      moment { _isamomentobject=true, _useutc=true, _isutc=true, more...}  start      moment { _isamomentobject=true, _useutc=true, _isutc=true, more...} 

_start , _end shows 08:00:00 , 19:00:00 respectively. _i value end property "2014-08-19t19:00:00+00:00" , _i value start property "2014-08-19t08:00:00+00:00". missing end time not rendered?

solved apparently set fc-events have 1em padding. makes height calculation missed.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -