Page 4 of 7 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 63
  1. #31

    Default Re: How do I change the Date format?

    Thanks everyone. Special thanks to Phil. I hope it's an easier process in the next update.

  2. #32
    Join Date
    May 2008
    Location
    South Australia
    Posts
    86
    Plugin Contributions
    1

    Idea or Suggestion Re: How do I change the Date format?

    it took me a bit to work out i was missing the following defines:

    admin english.php
    Code:
    define('DOB_FORMAT_STRING', 'dd/mm/yyyy');
    
    define('JS_DOB', '* The \'Date of Birth\' entry must be in the format: xx/xx/xxxx (date/month/year).\n');
    
    define('ENTRY_DATE_OF_BIRTH_ERROR', '&nbsp;<span class="errorText">(eg. 21/05/1970)</span>');
    and your template english.php

    Code:
      define('DOB_FORMAT_STRING', 'dd/mm/yy');
    
      define('ENTRY_DATE_OF_BIRTH_ERROR', 'Is your birth date correct? Our system requires the date in this format: DD/MM/YYYY (eg 21/05/1970)');
    
      define('ENTRY_DATE_OF_BIRTH_TEXT', '* (eg. 21/05/1970)');

    its suprising how handy the "developers tool kit" can be amd finding 'the' file with 'that' text.

  3. #33
    Join Date
    Jun 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: How do I change the Date format?

    Hi,
    I'm using Easy Populate to upload products and the date product added is not going through properly - it is using reading my UK date data as US format, so is not adding products to the newly added section.

    Any ideas on how to fix this? I have changed all the references to the format in english.php for both my template and admin sections?

    thanks

  4. #34
    Join Date
    Jul 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: How do I change the Date format?

    wonderfully and very clearly written, thank you :) made it very easy to change to Australia (dd/mm/yyyy) format..

  5. #35
    Join Date
    Sep 2008
    Posts
    41
    Plugin Contributions
    2

    Default Re: How do I change the Date format?

    Hi, it has worked for me to the only thing is I seem to of messed my register page up as you can see from the pic below the words have gone for the date of birth and, im not sure but i think ive messed my tables up as they are no longer alined.

    Hope you guys can help me with this.
    Thanx

  6. #36
    Join Date
    Jun 2008
    Posts
    47
    Plugin Contributions
    0

    Default Re: How do I change the Date format?

    I want to set the UK date on my site but when following this on my test Site it worked for the signup form and such. But when running a sales report i get an error one of the dates you entered is not valid.

    i did try changing the date format in the stats_sales_report.php file but that didnít make any difference.
    Iím thinking its the SQL database that my be the root of this but donít know .
    Anyone else seen this and fixed it?

  7. #37
    Join Date
    Oct 2008
    Location
    Sydney, Oz-land
    Posts
    45
    Plugin Contributions
    0

    Default Re: How do I change the Date format?

    Gawd... why did I bother? LOL
    can't get into admin now, have checked and re-checked...

    I get this message: Parse error: syntax error, unexpected T_STRING in /home/getbuck/public_html/admin/includes/languages/english.php on line 186


    which should refer to one of these first lines here (assuming phil's line numbers are correct!)
    PHP Code:
    define('PLEASE_SELECT''Please select ...');
      
    define('TYPE_BELOW''Type a choice below ...');

      
    define('ENTRY_COMPANY''Company Name:');
      
    define('ENTRY_COMPANY_ERROR''Please enter a company name.');
      
    define('ENTRY_COMPANY_TEXT''');
      
    define('ENTRY_GENDER''Salutation:');
      
    define('ENTRY_GENDER_ERROR''Please choose a salutation.');
      
    define('ENTRY_GENDER_TEXT''*');
      
    define('ENTRY_FIRST_NAME''First Name:');
      
    define('ENTRY_FIRST_NAME_ERROR''Is your first name correct? Our system requires a minimum of ' ENTRY_FIRST_NAME_MIN_LENGTH ' characters. Please try again.');
      
    define('ENTRY_FIRST_NAME_TEXT''*');
      
    define('ENTRY_LAST_NAME''Last Name:');
      
    define('ENTRY_LAST_NAME_ERROR''Is your last name correct? Our system requires a minimum of ' ENTRY_LAST_NAME_MIN_LENGTH ' characters. Please try again.');
      
    define('ENTRY_LAST_NAME_TEXT''*');
      
    define('ENTRY_DATE_OF_BIRTH''Date of Birth:');
      
    define('ENTRY_DATE_OF_BIRTH_ERROR''Is your birth date correct? Our system requires the date in this format: DD/MM/YYYY (eg 21/05/1970)');
      
    define('ENTRY_DATE_OF_BIRTH_TEXT''* (eg. 21/05/1970)'); 
    All I'm seeing is a missing * (possibly) where it defines company name???
    I have the "requires company name" for login details set to off...

    anyone?? Its rather late here in aus and i have almost reached the limit of my patience with this particulare problem - I'm no net wiz, so any help greatly appreciated!!

  8. #38
    Join Date
    Oct 2008
    Location
    Sydney, Oz-land
    Posts
    45
    Plugin Contributions
    0

    Default Re: How do I change the Date format?

    Right... feeling pretty stupid right about now, but have figured it out nonetheless...

    Thanks Phill, you are as good as they say ;)

  9. #39
    Join Date
    Sep 2008
    Location
    Gold Coast, Australia
    Posts
    55
    Plugin Contributions
    0

    Default Re: How do I change the Date?

    I've got the same problem
    I edited admin\includes\languages\english.php
    and
    includes\languages\english.php

    Still getting the warning "Is your birth date correct? Our system requires the date in this format: MM/DD/YYYY (eg 05/21/1970)" after completing new account registration

  10. #40
    Join Date
    Dec 2008
    Location
    Canberra, Australia
    Posts
    85
    Plugin Contributions
    0

    Default Re: How do I change the Date format?

    "I bought the Zen Book and it has saved me HOURS of frustration. Brilliant publication. Every novice should own it!!!! "

    I second this.

 

 
Page 4 of 7 FirstFirst ... 23456 ... LastLast

Similar Threads

  1. How do I change date format?
    By craftyrose in forum Basic Configuration
    Replies: 3
    Last Post: 21 Aug 2010, 03:52 AM
  2. change date format how??
    By kitcorsa in forum General Questions
    Replies: 3
    Last Post: 30 Oct 2008, 02:54 PM
  3. Replies: 0
    Last Post: 14 Apr 2008, 08:54 PM
  4. How to change date format
    By dail in forum Customization from the Admin
    Replies: 0
    Last Post: 13 Jun 2007, 08:35 AM
  5. How change date format to spanish?
    By Stack A Brown in forum General Questions
    Replies: 1
    Last Post: 17 Apr 2007, 09:31 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR