Results 1 to 3 of 3

Quick about date format

This is a discussion on Quick about date format within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; I'm seeing the english date format in my catalog... where have i to change it ?.. thanks......

      
  1. #1
    Member
    Join Date
    Apr 2004
    Location
    Argentina
    Posts
    61
    Rep Power
    0


    Default Quick about date format

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

    thanks...

  2. #2
    Active Member red_fraggle's Avatar
    Join Date
    Feb 2004
    Location
    wilmington, NC
    Posts
    343
    Rep Power
    8


    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
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    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!
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

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, 07: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

Posting Permissions

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