jamelbaz / FullCalendar-BS3-PHP-MySQL

FullCalendar 2 integration with bootstrap, php and mysql
MIT License
45 stars 59 forks source link

Event display issue #5

Open dSaif opened 6 years ago

dSaif commented 6 years ago

Hello,

I had tried your FullCalendar BS3 PHP MySQL and its very good in adding events, I have a problem in the display of the event on calendar,, It does not show dates correctly? An example in the database I keep "start" 2018-02-06 "end" 2018-02-08 but in the calendar it shows me "start" 2018-02-06 "end" 2018-02-07. Iam trying to resolve this from last 2 weeks, but unable to solve this. Please help me on this.

Thank you

waldronmatt commented 5 years ago

@dSaif All Day Events have a duration of 1 day by default. https://fullcalendar.io/docs/v3/defaultAllDayEventDuration

Make sure you are setting your events properly through FullCalendar. An all day event should log 1 day and will be stored properly through your database.