-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong today's date. #6
Comments
The following outputs correctly for me. How about you? $calendar = new \donatj\SimpleCalendar();
$calendar->setDate('September 2016');
$calendar->show(true); There's very little to the setDate parsing. The method If you execute
|
Yea I am also getting same output like your's but you have also default date selected is 1. Does this means In this plugin I cannot show today's date selected by default? |
Oops, didn't mean to close that ;) |
Fixed in #12 |
I am displaying this month's calendar but 01-09-2016 is selected by default instead of today's date.
$calendar = new \donatj\SimpleCalendar('September '.$currentYear);
$calendars['month'] = $monthName;
$calendars['calendar'] = $calendar;
$calendars['calendar']->show();
The text was updated successfully, but these errors were encountered: