Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 3 of 3

Thread: Quick about date format

  1. #1
    damnedpig
    Guest


    Default Quick about date format

    I'm seeing the english date format in my catalog...
    where have i to change it ?..

    thanks...

  2. #2
    red_fraggle
    Guest


    Default

    if i remember correctly this is in /catalog/includes/languages/english.php . Someone correct me if im wrong. Should look something like this:
    define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()
    define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
    define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');

    and be right near the top.

  3. #3
    jpf
    Guest


    Default

    Also if you DON'T want DATE_FORMAT_LONG default english names (ie MONTH WEEK loke "May" or "Tuesday") - you have to make sure your server support/installs the ISO language you want (it's an OS language settings where it pulls the TEXT for these)

    Good Luck!

Similar Threads

  1. Registration error, Date format
    By marbor in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 02-04-2004, 06:21 AM
  2. How to set date in footer to another format
    By stando in forum osCmax v1.7 Discussion
    Replies: 7
    Last Post: 01-23-2004, 06:50 AM
  3. Date format question
    By Dr_Evil in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 10-23-2003, 06:23 AM
  4. Change date format
    By don in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 01-31-2003, 07:03 PM
  5. Date format
    By killermonkey in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 01-24-2003, 02:07 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •