Loading...
 
Skip to main content

Features / Usability


Re: How can do change default locale? (UTC time)

posts: 6

Here's my solution:
open file: modifier.tiki_date_format.php

change:
Line 22
from: else $format = preg_replace(???/%Z/???, “UTC???,$format);
to: else $format = strftime(" No value assignedd.%Y %H:%M %Z");

This gives the current time wherever the server is. I actually removed the time stamp (%H:%M %Z) and just have the date stamp so there's no confusion.

If you log in, you get the time stamp from your preferences.

Hope it didn't screw something else up...

There are no comments at this time.