Thread: Dates on iOS

Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Is it possible to change the date format?

    Quote Originally Posted by ultimate_zc View Post
    I ran into the same problem when trying to change the format for the advanced search dates. They use the
    PHP Code:
    DOB_FORMAT_STRING 
    Do you know what files I should be looking at.
    /includes/languages/english.php
    /admin/includes/languages/english.php

    Cheers
    Rod

  2. #12
    Join Date
    Jun 2008
    Location
    Osprey, Florida
    Posts
    151
    Plugin Contributions
    14

    Default Re: Is it possible to change the date format?

    I have modified those with no results. I think my problem has to do with the jscript_main.php for the advanced search page. I don't understand how the date in the create account page formatted to Mmm dd, yyyy as in Jan 31, 2013, works but not in the advanced search page.

    The problem is this (which is one of the two files you mentioned):
    PHP Code:
    define('DOB_FORMAT_STRING''mm/dd/yyyy'); 
    jscript_main.php calls for DOB_FORMAT_STRING. I have tried several different ways as explained on the php.net site, here: Date Formats

  3. #13
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Is it possible to change the date format?

    Quote Originally Posted by ultimate_zc View Post
    I have modified those with no results.
    Err, not really possible. Any code modification will have *some* kind of result. If you don't see any change it means you are either seeing a cached page, or the modification wasn't saved (it happens more than you'd imagine), or the modified code has nothing to do with the thing being tested.

    Try using the developers toolkit to see if there are any other DOB_FORMAT_STRING defines.

    Cheers
    Rod

  4. #14
    Join Date
    Dec 2005
    Location
    Cincinnati Ohio
    Posts
    1,026
    Plugin Contributions
    13

    Default Re: Is it possible to change the date format?

    Quote Originally Posted by ultimate_zc View Post
    I have modified those with no results. I think my problem has to do with the jscript_main.php for the advanced search page. I don't understand how the date in the create account page formatted to Mmm dd, yyyy as in Jan 31, 2013, works but not in the advanced search page.

    The problem is this (which is one of the two files you mentioned):
    PHP Code:
    define('DOB_FORMAT_STRING''mm/dd/yyyy'); 
    jscript_main.php calls for DOB_FORMAT_STRING. I have tried several different ways as explained on the php.net site, here: Date Formats
    UZC,

    Did you try this one? It is kind of old but just in case you did not http://www.zen-cart.com/showthread.p...ate-from-field
    PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
    Business Class Web Hosting - Linux and cPanel Powered

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v154 iOS Add to Cart Prtoblem
    By lloyd_borrett in forum General Questions
    Replies: 6
    Last Post: 16 Nov 2015, 08:13 PM
  2. How to handle downloadable products with iOS, iPad, iPhone, etc??
    By lperrie in forum Managing Customers and Orders
    Replies: 14
    Last Post: 8 Jan 2012, 01:40 AM
  3. Dates on coupons?
    By mamasylvia in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 3
    Last Post: 9 Mar 2008, 10:45 PM

Posting Permissions

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