jamelbaz / FullCalendar-BS3-PHP-MySQL

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

The initial date is always showing January, 2016 #1

Open je7rojas opened 8 years ago

je7rojas commented 8 years ago

Evrytime I run the application, the system is showing January 2016. What should I change to update the datetime evrytime I run the application

Thanks

Japy88 commented 8 years ago

Hi jergff,

In the page "index.php", on line 242, you just have to commit like "//defaultDate: '2016-01-12'," or erase the line. If you want to make the week begin on other day than sunday, in the page "moment.min.js", on line 343, you change the number in "var le={dow:0,". If you put 1 insted, the week begins on Monday. Hope I help.

je7rojas commented 8 years ago

Thanks I really appreciate your help

2016-09-25 20:00 GMT-05:00 Japy88 notifications@github.com:

Hi jergff,

In the page "index.php", on line 242, you just have to commit like "//defaultDate: '2016-01-12'," or erase the line. If you want to make it begining the week on other day then sunday, in the page "moment.min.js", on line 343, you change the number in "var le={dow:0,". If you put 1 insted, the week begins on Monday. Hope I help.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jamelbaz/FullCalendar-BS3-PHP-MySQL/issues/1#issuecomment-249458770, or mute the thread https://github.com/notifications/unsubscribe-auth/AT24SS_nscudecrKxvyiagK-qUp-GJHtks5qtxksgaJpZM4Jb639 .

je7rojas commented 8 years ago

It works! Let me ask you an additional question. Is there any way to stay in the same month when I delete the event.

When I delete the event the system reloads the screen to the default page (in this case today) so every time I delete the event, the system redirects me to "today". If I delete an event, for example, in march 2012, the system shows this month "October" so I need to search again the past events in 2012

2016-10-10 13:38 GMT-05:00 Je Rojas je7rojas@gmail.com:

Thanks I really appreciate your help

2016-09-25 20:00 GMT-05:00 Japy88 notifications@github.com:

Hi jergff,

In the page "index.php", on line 242, you just have to commit like "//defaultDate: '2016-01-12'," or erase the line. If you want to make it begining the week on other day then sunday, in the page "moment.min.js", on line 343, you change the number in "var le={dow:0,". If you put 1 insted, the week begins on Monday. Hope I help.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jamelbaz/FullCalendar-BS3-PHP-MySQL/issues/1#issuecomment-249458770, or mute the thread https://github.com/notifications/unsubscribe-auth/AT24SS_nscudecrKxvyiagK-qUp-GJHtks5qtxksgaJpZM4Jb639 .

AladinDridi commented 7 years ago

it's resloving for me after add this defaultDate:new Date().toJSON().slice(0,10).replace(/-/g,'/'),

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