CuteNews

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Time adjustment in UTF-8 cutenews
Scoop
post Sep 20 2012, 01:38 AM
Post #1


Newbie
*

Group: Members
Posts: 14
Joined: 19-September 08
Member No.: 28,184



Hi, in the latest utf8 version (and cutenews 1.4.6), there are a few places where the time is wrong if you are using a time adjustment setting in the config. Also it shows the timezone (eg +0800) but that is the server time, and doesn't change with the time adjustment.

I have added +($config_date_adjust*60) to some places in editusers and the welcome messages in main.mdu and this seems to work for the time, not the timezone.

There maybe other files which need editing as well, maybe the new log in "more", addnews and editnews?


Also, not important, but in editusers the registration dates have am or pm which is not needed for the 24h times smile.gif
Which I fixed by removing the "a" from date("F, d Y @ H:i a",$user_arr[0])
Go to the top of the page
 
+Quote Post

Fast ReplyReply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 22nd May 2013 - 09:35 AM