"DateTime::__construct(): ..." on b-end order list
11 years 4 months ago #202096
by Urbinati
Dreamlord Press
www.dreamlordpress.it
Roleplaying Games in the new era
"DateTime::__construct(): ..." on b-end order list was created 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.
-- 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.
11 years 4 months ago #202105
by nicolas
Replied by nicolas on topic "DateTime::__construct(): ..." on b-end order list
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.
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.
11 years 4 months ago #202137
by Urbinati
Dreamlord Press
www.dreamlordpress.it
Roleplaying Games in the new era
Replied by Urbinati on topic "DateTime::__construct(): ..." on b-end order list
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?
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.
11 years 4 months ago #202162
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic "DateTime::__construct(): ..." on b-end order list
Hi,
Yes, that's it.
Regards,
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