neobug103 Posted December 9, 2011 Share Posted December 9, 2011 I ensured that date format is set to MM/DD/YYYY and Client Date Format is set to above. When I check an email I sent myself with the {$date} variable in the email it says Thursday, 8th December 2011 This is incorrect. How can I get it to display as Thursday, December 8th 2011 1 Quote Link to comment Share on other sites More sharing options...
m8internet Posted December 9, 2011 Share Posted December 9, 2011 Setup -> General Settings -> Localisation What settings have you put for : Date Format Default Country If you want to change the order within the {date} format then you will need to edit the languages template -1 Quote Link to comment Share on other sites More sharing options...
neobug103 Posted December 9, 2011 Author Share Posted December 9, 2011 Do you see a problem? Because I don't... I tried searching for 'date' in the language file and didn't find anything. 0 Quote Link to comment Share on other sites More sharing options...
m8internet Posted December 9, 2011 Share Posted December 9, 2011 (edited) In which email template are you using $date Day, day number, month, year is correct gramatically when quoting a date in English language and in documents Edited December 9, 2011 by m8internet -1 Quote Link to comment Share on other sites More sharing options...
m8internet Posted December 9, 2011 Share Posted December 9, 2011 I've searched date('l and found nothing within v4.5.2 Not sure where the echo is being used in the standard php call for date echo date('l\, F jS Y') Which version of WHMCS are you using? -1 Quote Link to comment Share on other sites More sharing options...
neobug103 Posted December 10, 2011 Author Share Posted December 10, 2011 Go to the bottom of a proucts/services email and look at the very bottom of the template variable list and you will see the following. 0 Quote Link to comment Share on other sites More sharing options...
m8internet Posted December 10, 2011 Share Posted December 10, 2011 As above, which version are you running? I had a look for product/services email template, but there is no such template in 4.5.2 -1 Quote Link to comment Share on other sites More sharing options...
neobug103 Posted December 10, 2011 Author Share Posted December 10, 2011 I'm running v5 0 Quote Link to comment Share on other sites More sharing options...
m8internet Posted December 10, 2011 Share Posted December 10, 2011 I'm running v5 That explains why I can't see the issue you are having, over to someone else now -1 Quote Link to comment Share on other sites More sharing options...
webdaily Posted January 2, 2012 Share Posted January 2, 2012 I'm having the same issue. In localization it is set to DD/MM/YYYY but the emails are all sending at MM/DD/YYYY I ensured that date format is set to MM/DD/YYYY and Client Date Format is set to above. When I check an email I sent myself with the {$date} variable in the email it says Thursday, 8th December 2011 This is incorrect. How can I get it to display as Thursday, December 8th 2011 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.