Skip to content
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

Start always Today in left calendar #44

Open
xd1510 opened this issue May 26, 2015 · 0 comments
Open

Start always Today in left calendar #44

xd1510 opened this issue May 26, 2015 · 0 comments

Comments

@xd1510
Copy link

xd1510 commented May 26, 2015

i tried --
var today;
var now = new Date();
if (now.getMonth() == 11) {
today = new Date(now.getFullYear() + 1, 0, 1);
} else {
today = new Date(now.getFullYear(), now.getMonth() + 1, 1);
}
...
date: new Date(today)

the start day is marked well, but is not showing,
no matter the initial date set, always begins with the same month

How

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant