Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2011
    Location
    West Yorkshire - England
    Posts
    38
    Plugin Contributions
    1

    Default UK Date format problem

    Afternoon all

    During my 1.39h to 1.5 testing I have noticed an issue with the date format on my store.

    I originally developed the store on version 1.39h, and customised my template to use the date format dd/mm/yyyy for customers dates of birth. (Following helpful guide below)

    https://www.zen-cart.com/tutorials/i...hp?article=401

    I could successfully enter a date of birth as dd/mm/yyyy, and inversely would be warned with the correct error if I didnt enter the date of birth in required format.

    When 1.5 was released I decided to do a clean build of the site, and start with a new database, not realising a standard 1.5 database is now in UTF8 format, I dont think the settings in my 1.5 version of the english.php file are quite right.

    I am now finding that when creating a new customer, I must enter the date of birth as mm/dd/yyyy
    The warning message from english.php still says the format must be dd/mm/yyyy

    http://test.italianhampers.co.uk

    If I then go to the edit account page to look at my date of birth I see its in the format dd/mm/yyyy

    http://test.italianhampers.co.uk/ind...e=account_edit

    Can anyone work out what I've done wrong?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: UK Date format problem

    As with prior versions, v1.5 still handles dates based on the formats you specify in your english.php files.

    But if you're using a non-utf8 database, then you will want to keep your non-utf8 settings. See: https://www.zen-cart.com/tutorials/i...hp?article=414
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Date format problem in Specials in Admin
    By markflickr in forum Basic Configuration
    Replies: 13
    Last Post: 9 Oct 2011, 02:13 PM
  2. Registration & Birth date - problem with the format
    By sanji in forum General Questions
    Replies: 1
    Last Post: 7 Nov 2007, 05:16 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR