[Skip to main content](#vessel-content)

#   "DateTime::\_\_construct(): ..." on b-end order list

##

- **[Urbinati](/forum/user/31080-urbinati "View Urbinati's Profile")**
- [![Urbinati's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31080.jpg)](/forum/user/31080-urbinati "View Urbinati's Profile") Topic Author
- [ Offline](/forum/user/31080-urbinati)

Less More

- Posts: 63
- Thank you received: 0
-
-
-
- [](http://www.dreamlordpress.it)
-

11 years 6 months ago [\#202096](#202096) by [Urbinati](/forum/user/31080-urbinati "View Urbinati's Profile")  *["DateTime::\_\_construct(): ..." on b-end order list](/forum/35-orders-management/877033-datetime-construct-on-b-end-order-list#202096 "-- 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::&#95;&#95;construct(): Failed to parse time string (18 Gennaio 2015) at position 0 (1): Unexpected character  Hi,  I have an error DateTime::&#95;&#95;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.")* was created by *[Urbinati](/forum/user/31080-urbinati "View Urbinati's Profile")*

-- url of the page with the problem -- : [ www.dreamlordpress.it](http://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](http://www.dreamlordpress.it)
Roleplaying Games in the new era

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3NzAzMy1kYXRldGltZS1jb25zdHJ1Y3Qtb24tYi1lbmQtb3JkZXItbGlzdD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

11 years 6 months ago [\#202105](#202105) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *["DateTime::\_\_construct(): ..." on b-end order list](/forum/35-orders-management/877033-datetime-construct-on-b-end-order-list#202105 "-- 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::&#95;&#95;construct(): Failed to parse time string (18 Gennaio 2015) at position 0 (1): Unexpected character  Hi,  I have an error DateTime::&#95;&#95;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.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3NzAzMy1kYXRldGltZS1jb25zdHJ1Y3Qtb24tYi1lbmQtb3JkZXItbGlzdD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Urbinati](/forum/user/31080-urbinati "View Urbinati's Profile")**
- [![Urbinati's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31080.jpg)](/forum/user/31080-urbinati "View Urbinati's Profile") Topic Author
- [ Offline](/forum/user/31080-urbinati)

Less More

- Posts: 63
- Thank you received: 0
-
-
-
- [](http://www.dreamlordpress.it)
-

11 years 6 months ago [\#202137](#202137) by [Urbinati](/forum/user/31080-urbinati "View Urbinati's Profile")  Replied by *[Urbinati](/forum/user/31080-urbinati "View Urbinati's Profile")* on topic *["DateTime::\_\_construct(): ..." on b-end order list](/forum/35-orders-management/877033-datetime-construct-on-b-end-order-list#202137 "-- 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::&#95;&#95;construct(): Failed to parse time string (18 Gennaio 2015) at position 0 (1): Unexpected character  Hi,  I have an error DateTime::&#95;&#95;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.")*

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](http://www.dreamlordpress.it)
Roleplaying Games in the new era

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3NzAzMy1kYXRldGltZS1jb25zdHJ1Y3Qtb24tYi1lbmQtb3JkZXItbGlzdD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 6 months ago [\#202162](#202162) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *["DateTime::\_\_construct(): ..." on b-end order list](/forum/35-orders-management/877033-datetime-construct-on-b-end-order-list#202162 "-- 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::&#95;&#95;construct(): Failed to parse time string (18 Gennaio 2015) at position 0 (1): Unexpected character  Hi,  I have an error DateTime::&#95;&#95;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.")*

Hi,

Yes, that's it.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3NzAzMy1kYXRldGltZS1jb25zdHJ1Y3Qtb24tYi1lbmQtb3JkZXItbGlzdD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.053 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
