1
twitaman
Wrong Date in Xoops
  • 2005/2/12 18:07

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


I'm having a problem with XOOPS posting the wrong date in modules and all over the site. For instance if I update a module in system admin it will say, "last update Feb 28, 2005" which of course has not even happened yet.

And when I post in NewBB or submit an article in News it will give the posted date as "Feb 28, 2005." It respects the time, just not the date.

I'm not quite sure what exactly I did to cause this foul up. Also, I know it's not the server because I did a check on it and it returned the correct day, date, and time.

Anyway have any ideas how I can fix this? Your help would be greatly appreciated! Thanks!

2
Mithrandir
Re: Wrong Date in Xoops

How did you check it?

If this was not the approach, you have already tried, try creating and uploading a new PHP file with this content:
echo date('j/n Y'time() );
?>

and see which date that produces.

3
twitaman
Re: Wrong Date in Xoops
  • 2005/2/12 18:49

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


Yeah, I checked it and it returned the correct date:

Quote:

12/2 2005

4
twitaman
Re: Wrong Date in Xoops
  • 2005/2/12 19:24

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


I figured out what I did!

It was showing me the date, "Feb 28, 05" but the number of days in the month!

I modified my global.php file and must've hit the t instead of the d in the date formatting lines. As you know, t tells you the number of days in a month 28-31.

LOL! Oh man, the crazy shit I do!

5
Dave_L
Re: Wrong Date in Xoops
  • 2005/2/12 20:57

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7



Login

Who's Online

322 user(s) are online (267 user(s) are browsing Support Forums)


Members: 0


Guests: 322


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