Date Format Changed in HikaShop Business: 2.3.4

  • Posts: 284
  • Thank you received: 6
10 years 1 week ago #180406

-- HikaShop version -- : HikaShop Business: 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.26
-- Browser(s) name and version -- : n/a
-- Error-message(debug-mod must be tuned on) -- : n/a

After updating to HikaShop Business: 2.3.4 the date format on the INVOICE (invoice button after clicking on the order from back end) has changed from full date to numbers:

Used to be: 22 October 2014
Now is: 2014-10-22

Client wants it back to the way it used to show.

I cannot find a setting for date format anywhere.

Thank you.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
10 years 6 days ago #180408

The date format can not be configured in the translation file of HikaShop like Joomla does.
You can edit it under the Languages tab of the configuration and look for:
HIKASHOP_DATE_FORMAT="%Y-%m-%d"
HIKASHOP_EXTENDED_DATE_FORMAT="%Y-%m-%d %H:%M"

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

  • Posts: 284
  • Thank you received: 6
10 years 6 days ago #180582

OK, got it. Changed the format to: %d M %Y 20 Nov 2014

But that still does not show the complete month name.

Why did the date format change?

Last edit: 10 years 6 days ago by MSTACE.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
10 years 5 days ago #180590

Hi,

We uniformized it in order to use the same one everywhere in HikaShop and so that it can easily be changed from one place.
The format you want is: %d %B %Y

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

Time to create page: 0.062 seconds
Powered by Kunena Forum