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

2 participants

@mattab
Piwik Open Source Analytics member

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

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

@mattab
Piwik Open Source Analytics member

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

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