1
DHairy
How to change date format globally
  • 2004/1/13 22:45

  • DHairy

  • Just popping in

  • Posts: 19

  • Since: 2004/1/13


I know its a stupid American problem, but the date format on XOOPS globally is kinda funky for us here in the states.

How do I get: 2004.01.13
to show up as: 01.13.2004

Anyone? Which files are these set in? I see them in Agendax and the NewBB which is where they tend to be most visible.

Oh,, and how do you get rid of military time to regular?


Thanks!
Craig


Check out my Band and XOOPS Site:
Dirrty Hairy

2
Dave_L
Re: How to change date format globally
  • 2004/1/14 0:04

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


See this topic.

3
DHairy
Re: How to change date format globally
  • 2004/1/14 4:23

  • DHairy

  • Just popping in

  • Posts: 19

  • Since: 2004/1/13


Thanks Dave,

This helped a bunch:
http://www.php.net/manual/en/function.date.php

And for anyone else you can change it here:
/xoops/html/language/english/global.php

Line 160
define("_DATESTRING","n/j/Y g:i A");


Line 161
define("_MEDIUMDATESTRING","n/j/Y g:i A");


Line 162
define("_SHORTDATESTRING","n/j/Y");


I hope that helps someone with the same problem.



Now, if anyone can help me fix the global date functions for agendax-x that would be awesome. Nothing helpful or up to date here or on the agenda-x site that I could find.

4
tzvook
How to change date format @ Agendax-X
  • 2004/4/23 20:53

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Yep, I need help changing the "Agendax-X" date to euro one ( DD,MM,YYYY ) and can't find anything in here too... someone ? .....

Login

Who's Online

131 user(s) are online (95 user(s) are browsing Support Forums)


Members: 0


Guests: 131


more...

Donat-O-Meter

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

Latest GitHub Commits