Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

How to set the time

kiao
2008-09-19
2013-03-16
  • 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

    http://kiao.no-ip.info/NuTyX/viewgit

    Thierry

     
  • 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

    regards

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