We always need to set server time-zone setting, for getting right(?) graph.
gitstat is using 'mktime()',and it is related with server time.
so, graph of gitstat shows server-time related results.
We need other modification.
That is a good point! Here is my rough senario: user login --> choose his/her timezone will be needed... or provide that functionality to anonymous users too via cookie or something like that will be nice.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've just committed some fixes to graph.php. Instead of relying on mktime I rely on the last commitdate in the database. I needed to do that anyway. If the difference between last commitdate and current date was to big we'd only show a few values in the graph (you can check that by setting your clock a few days further). It works for me, so if you could have a look if this is what's needed we now know the approach. I'm not assigning it to me as I first want to fix everything for 'Number of changesets (Day)'.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=45902
Originator: NO
That is a good point! Here is my rough senario: user login --> choose his/her timezone will be needed... or provide that functionality to anonymous users too via cookie or something like that will be nice.
Logged In: YES
user_id=1877250
Originator: NO
I've just committed some fixes to graph.php. Instead of relying on mktime I rely on the last commitdate in the database. I needed to do that anyway. If the difference between last commitdate and current date was to big we'd only show a few values in the graph (you can check that by setting your clock a few days further). It works for me, so if you could have a look if this is what's needed we now know the approach. I'm not assigning it to me as I first want to fix everything for 'Number of changesets (Day)'.