>>
Site Map
>>
Forums
>>
General 6x
Forum module - topics in forum:
General 6x - Discussions reagarding any other PHP-Nuke Problems.
Time on stories not displaying
I am running ver. 6.9 of php-nuke and I posted a story and this is what it displays:
Posted by shedrock on Saturday, October 18 @ Eastern Daylight Time
It doesn't show the Time. How can I fix this? - If its on a thread on the site I couldn't find it.
Thanks
Shedrock
You don't run on a windows server do you?
Yes I am on windows 2000
Maybe its just 6.9 my other sites hsow up the time.
Shedrock
Cool, well the only fix I found was on windows so here you go.
| Quote: : |
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
define("_DATESTRING","%A, %B %d @ %T %Z");
and correct it to
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 .
|
http://ravenphpscripts.com/modules.php?name=Forums&file=viewtopic&t=163#725
Awesome, that was quick..It works great now.
Thank you very much
Shedrok 