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

Calendar should use the server date and time and not rely on browser settings #942

Closed
mattab opened this issue Aug 17, 2009 · 3 comments
Closed
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Aug 17, 2009

Currently, if your webserver is in GMT but your computer set to GMT-6, if you visit the calendar after 6PM you should be in the next day, but the calendar still shows today in GMT-6.

probably caused by the

            maxDate: new Date(),

in plugins/CoreHome/templates/calendar.js

@robocoder
Copy link
Contributor

Can we defer this and work on it conjunction with #56?

@mattab
Copy link
Member Author

mattab commented Sep 22, 2009

I believe this is independant of #56 and should be a quick fix (the JS should simply read the server side date rather than doing new Date()).

@robocoder
Copy link
Contributor

In [1482], fixes #942 - calendar should use the server date for 'today'

@mattab mattab added this to the Piwik 0.4.4 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

2 participants