Date in attached invoice pdf

  • Posts: 79
  • Thank you received: 2
8 years 11 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: 82908
  • Thank you received: 13378
  • MODERATOR
8 years 11 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
8 years 11 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.059 seconds
Powered by Kunena Forum