Skip to main content

"DateTime::__construct(): ..." on b-end order list

More
11 years 4 months ago #202096 by Urbinati
-- url of the page with the problem -- : www.dreamlordpress.it
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- Error-message(debug-mod must be tuned on) -- : DateTime::__construct(): Failed to parse time string (18 Gennaio 2015) at position 0 (1): Unexpected character

Hi,

I have an error DateTime::__construct(): Failed to parse time string (18 Gennaio 2015) at position 0 (1): Unexpected character
when I try to filter orders by date on the backend order list.

Dreamlord Press
www.dreamlordpress.it
Roleplaying Games in the new era

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

More
11 years 4 months ago #202105 by nicolas
Hi,

This must comes from the fact that your HikaShop translation file is not up to date or that you modified it.
Normally, you should have these lines in your translation file:
HIKASHOP_DATE_FORMAT="%Y-%m-%d"
HIKASHOP_EXTENDED_DATE_FORMAT="%Y-%m-%d %H:%M"
If that's not the case, add them and it will work.

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

More
11 years 4 months ago #202137 by Urbinati
I got the lines:

HIKASHOP_DATE_FORMAT="%d %B %Y"
HIKASHOP_EXTENDED_DATE_FORMAT="%d %B %Y %H:%M"

Should I change them to the format you are suggesting?

Dreamlord Press
www.dreamlordpress.it
Roleplaying Games in the new era

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

More
11 years 4 months ago #202162 by Jerome
Hi,

Yes, that's it.

Regards,

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

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

Time to create page: 0.193 seconds
Powered by Kunena Forum