Date in attached invoice pdf

  • Posts: 79
  • Thank you received: 2
9 years 5 months ago #224658

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.6
-- PHP version -- : 5.4.38

I have a problem with the date display in the invoice.
the display should be dd-mm-yyyy.
What it shows is yyyy-mm-dd. The code in the invoice.php says "%d %B %Y"
Ive looked in joomla. Joomla is set to timezone "Amsterdam" which is correct. I dont know if i am missing a setting that i overlooked or not.

Please Log in or Create an account to join the conversation.

  • Posts: 83806
  • Thank you received: 13571
  • MODERATOR
9 years 4 months ago #224665

Hi,

The date format comes from the translation file of HikaShop:
HIKASHOP_DATE_FORMAT="%Y-%m-%d"
HIKASHOP_EXTENDED_DATE_FORMAT="%Y-%m-%d %H:%M"
You can use a translation override in order to change it:
hikashop.com/download/languages.html#modify

The following user(s) said Thank You: rkuiper

Please Log in or Create an account to join the conversation.

  • Posts: 79
  • Thank you received: 2
9 years 4 months ago #224725

Ok found it. didnt think about looking there.
Thanks.

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum