1
bintel
Catads - Change Date Format
  • 2007/2/18 18:21

  • bintel

  • Just popping in

  • Posts: 18

  • Since: 2006/1/12


I am using XOOPS 2.016 with Catads 1.40.

My issue is with the date format. I cannot edit it in the files because I do not know what to edit.

I want the dates as 2/17, 2/17/07 or 2/17/2007, not 2007/2/17.

How can I do that?

2
zyspec
Re: Catads - Change Date Format
  • 2007/2/18 21:42

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


I believe catads uses the "global" XOOPS settings for time. You can change the format of this in the ./language/english/global.php - lines 164-167.

define("_DATESTRING","Y/n/j G:i:s");
define("_MEDIUMDATESTRING","Y/n/j G:i");
define("_SHORTDATESTRING","Y/n/j");


The settings are described in the file - but basically you'll want to change them to something like:
define("_DATESTRING","n/j/Y G:i:s");
define("_MEDIUMDATESTRING","n/j/Y G:i");
define("_SHORTDATESTRING","n/j/Y");

3
zyspec
Re: Catads - Change Date Format
  • 2007/2/18 21:43

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


* Deleted * duplicate post

Login

Who's Online

225 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 225


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