How to set the time

  • kiao

    kiao - 2008-09-19

    Im using your nice little tools, unfortunatly, the time is in UTC, how can I change it to my localtime (Zurich)

    Tanks a lots for your help


  • some1

    some1 - 2012-09-20

    u have to edit the viewgit/inc/functions.php

    Search for "gmstrftime" and replace it with "strftime"
    Do NOT replace the following lines:
    $info = gmstrftime($conf, $info) .' '. $info;
    $info = gmstrftime($conf, $info) .' '. $info;

    otherwise the dates will shown as localdate + offset from utc to localdate.

    @ version 0.6 i replace only lines: 99, 216, 218, 424, 452


  • Heikki Hokkanen

    Heikki Hokkanen - 2012-09-22

    Instead of the above, look in inc/config.php, timezone setting.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks