Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Bug Fixes
Author Message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Sun Sep 14, 2003 11:33 pm Reply with quote

I finally tracked this bugger down!

Somewhere along the line, an upgrade to PHP causes the posting time for stories (in Windows PHP) appears like this:

Posted by Someone on Friday, August 15 @ Central Daylight Time (0 reads)

Notice that the posting TIME is missing. To correct this, locate this line in lang-english.php
Code:
define("_DATESTRING","%A, %B %d @ %T %Z");
and correct it to
Code:
define("_DATESTRING","%A, %B %d @ %H:%M:%S %Z");

Apparently the %T does not work any longer in the Windows version of PHP. %T is equivalent to %H:%M:%S .
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Bug Fixes

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©