Re: How do I change the Date?
ok, i have gone thru all of these changes to the codes but there are a couple of bits of code that I dont seem to have the same as the the one shown.
number10
define('JS_DOB', '* The \'Date of Birth\' entry must be in the format: xx/xx/xxxx (month/date/year).\n');
11
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)');
define('ENTRY_EMAIL_ADDRESS', 'Email Address:');
define('ENTRY_EMAIL_ADDRESS_ERROR', 'Is your email address correct? It should contain at least ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . '
www. stitchwith.me
Re: How do I change the Date format?
Just a quick tip from someone who always manages to screw things up.
1. Make a copy of the original file and call it something like english.old
2. Once you have your modified file working correctly make a copy called something like english.bak
Now if you screw up or overwrite the file with an update you can retrieve all your hard work!
Re: How do I change the Date?
Quote:
Originally Posted by
fran911
I too have the same problem and lot of work is pending due to this.
Can anyone give me a solution to this
Have you made the changes explained in posts 2 and 3 of this thread. If so, could you post the your definitions as they are now and the full file paths where you have made the changes.
Re: How do I change the Date format?
Late in the day I know but I too would like to add my thanks to Phil for laying this out so clearly.
Just finished the edit and a check, all seems to be ok.
Thanks again
Guy
Re: How do I change the Date?
You are a legend!!!!!!!!!!
this is great
Re: How do I change the Date format?
Quote:
Originally Posted by
seo4u
Also you can login into your mysql to change them to you want date.:hug:
Exactly how would you do this on shared hosting??
Re: How do I change the Date format?
Quote:
Originally Posted by
seo4u
Also you can login into your mysql to change them to you want date.
Nonsense. Dates are held in the database in the internal MySQL format (aka ISO International standard). The database neither knows nor cares how they will be formatted for display on pages or in emails. That is determined by the relevant language file as described above, which is the only proper way to change date formats.
Re: How do I change the Date format?
Thanks Phil - I knew it wasn't easy!
Re: How do I change the Date format?
Great set of instructions - simple and easy to follow. Thanks Phil.
Re: How do I change the Date format?
a little bit of other!
Where can I translate the name of the months appearing on the index of my website? I've only found one language file containing them in the admin/includes/languages folder, but it has no effect, when I change them there.
Thank you