[new plugin] Suntimes
kavuday, you can change time zone from plugin control panel
My Blog, powered by s9y is http://oxygenws.com/blog/
I fixed the local time problem in mine.
In serendipity_plugin_suntimes.php on line 120 you'll see this
Just above it I put
This fixed it for my timezone ... I am not entirely sure what all the different timezone/city codes are but it isn't hard to find with a Google search.
This should be easy for the plugin author to add ...
In serendipity_plugin_suntimes.php on line 120 you'll see this
Code: Select all
print ("<tr><td align='right'><b>".PLUGIN_SUNTIMES_TIME."</b></td><td>".date('H:i')."</td></tr>");Code: Select all
putenv('TZ=America/Los_Angeles');This should be easy for the plugin author to add ...
Strange ... no I am showing the time as four hours ahead of the actual time ... this started happening a few hours ago, before I implemented the changes ... maybe the sever time has somehow changed.
UPDATE:
Seems to be working again. I think the people who maintain the server changed the time on the server somehow.
UPDATE:
Seems to be working again. I think the people who maintain the server changed the time on the server somehow.
