Jump to content

Change Date format


knoppers

Recommended Posts

Hey guys,

 

i've searched the whole internet since 2 days but i can't find any working solution to edit the date format in WHMCS.

 

First, the Date format in Germany is "29.04.2017" or with weekdays "Samstag, der 29.04.2017".

 

The Location options in the general settings are all correct (see screenshot), but on invoices the Date format is wrong.

How can i remove the "st, th..." from the date? And how can i translate the weekdays and the months?

In the language file there is nothing to edit this. Is this hardcoded?

 

 

Regards from Germany

 

 

langsettings.PNG

invoice date.PNG

Link to comment
Share on other sites

I think the problem will the highlighted date will be inside your invoicepdf.tpl template - it looks like it may be customised, so I think whoever did that has hard-coded the date format in that way... you'd need to edit the template to change it's date output.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated