1
-gonzo-
global.php define("_YESTERDAY" with PHP 5.1.1
  • 2005/12/22 14:21

  • -gonzo-

  • Just popping in

  • Posts: 12

  • Since: 2005/12/5


Hi,

I'm running XOOPS 2.2.3 with PHP 5.1.1. I noticed a problem in the display of Today and Yesterday in my CBB forum posts. I traced it to the global.php file where the date formats are defined. I added slashes in front of all characters so it looks like so:

define("_TODAY""Today G:i:s");
define("_YESTERDAY""Yes\te\rday G:i:s");


The dates were showing up like this:

Posted on: YAmerica/New_YorkstAmerica/New_Yorkrday 10:46:15

and

Posted on: T2005day 8:54:24

Thank you for working on such an awesome piece of software.

Marc

Login

Who's Online

390 user(s) are online (301 user(s) are browsing Support Forums)


Members: 0


Guests: 390


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits