Menu

#14 Time-Zone problem

open
nobody
None
5
2007-09-04
2007-09-04
No

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.

Discussion

  • Soon-Son Kwon(Shawn)

    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.

     
  • Paul Vriens

    Paul Vriens - 2007-09-06

    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)'.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.