Default Date Format

  • Posts: 250
  • Thank you received: 7
8 years 8 months ago #211256

-- url of the page with the problem -- : www.artistpapers.co.uk
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3

Hi,

Is there any way of globally changing the date format in Hikashop? In particular I'm thinking of the reports widgets and order listing in the admin dashboard. I would expect hikashop to use the Joomla date and time language constants but I have set those and Hikashop seems to be ignoring them.

Thanks,

Ian

Last edit: 8 years 8 months ago by iedwards.

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
8 years 8 months ago #211258

Hi,

Yes ; using a translation override you can change it.
The two keys are:

HIKASHOP_DATE_FORMAT
HIKASHOP_EXTENDED_DATE_FORMAT

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: iedwards

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

  • Posts: 250
  • Thank you received: 7
8 years 8 months ago #211346

Ah, got it, thanks Jerome.

Would it be an idea to put this in the documentation somewhere, or even better make it a configuration option,as I'm sure a lot of users are going to want to change this?

Ian

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

  • Posts: 81509
  • Thank you received: 13064
  • MODERATOR
8 years 8 months ago #211348

You can change the translation via the Languages tab of the configuration.
We did it like that because when you have a multilingual website, the format of the date needs to be different for the different languages.

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

Time to create page: 0.061 seconds
Powered by Kunena Forum