Skip to content
This repository has been archived by the owner on Jun 21, 2018. It is now read-only.

wrong cell highlighted in calendar #18

Open
jdee opened this issue Mar 18, 2011 · 0 comments
Open

wrong cell highlighted in calendar #18

jdee opened this issue Mar 18, 2011 · 0 comments

Comments

@jdee
Copy link

jdee commented Mar 18, 2011

The cell assigned the "today" class (and consequently surrounded with a broken border) is consistently the previous day, not the current one. This behavior occurs regularly on Ubuntu Linux with Firefox and Google Chrome.

The issue is the Date.daysDistance method, which needs to call Math.ceil instead of Math.round.

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

No branches or pull requests

1 participant