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

#   Double timezone specification

##

- **[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")**
- [![ijsbaanleuven's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34667.png)](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile") Topic Author
- [ Offline](/forum/user/34667-ijsbaanleuven)

Less More

- Posts: 72
- Thank you received: 2
-
-
- [](http://www.ijsbaanleuven.be)
-

9 years 6 months ago [\#270267](#270267) by [ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")  *[Double timezone specification](/forum/36-reports-statistics/890390-double-timezone-specification#270267 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 5.6.30 -- Browser(s) name and version -- : Chrome last version -- Error-message(debug-mod must be tuned on) -- : 0 DateTime::&#95;&#95;construct(): Failed to parse time string (-001-11-29T23:40:28+00:00) at position 7 (-): Double timezone specification  Hi !  After update to the latest J! version today, wanting to edit my report, i get the following error :  0 DateTime::&#95;&#95;construct(): Failed to parse time string (-001-11-29T23:40:28+00:00) at position 7 (-): Double timezone specification  In my search in the forum, I could only find this topic that is related :  But this seems to old to be of help.  Any help will be grately appreciated !  Thanks !")* was created by *[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")*

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.7.2
-- PHP version -- : 5.6.30
-- Browser(s) name and version -- : Chrome last version
-- Error-message(debug-mod must be tuned on) -- : 0 DateTime::__construct(): Failed to parse time string (-001-11-29T23:40:28+00:00) at position 7 (-): Double timezone specification

Hi !

After update to the latest J! version today, wanting to edit my report, i get the following error :

0 DateTime::__construct(): Failed to parse time string (-001-11-29T23:40:28+00:00) at position 7 (-): Double timezone specification

In my search in the forum, I could only find this topic that is related :
[ Forum search result](https://www.hikashop.com/forum/reports-statistics/886227-extraction-de-rapport-erreur.html#249081)

But this seems to old to be of help.

Any help will be grately appreciated !

Thanks !
[ ![hika&#95;2017-05-25.png](/forum/attachment/38300) ](/forum/attachment/38300 "...2017-05-25.png")

- [ ![hika&#95;2017-05-25.png](/forum/attachment/38300) ](/forum/attachment/38300 "...2017-05-25.png") [ ](/forum/attachment/38300?download=1 "...2017-05-25.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTAzOTAtZG91YmxlLXRpbWV6b25lLXNwZWNpZmljYXRpb24/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

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

9 years 6 months ago [\#270268](#270268) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Double timezone specification](/forum/36-reports-statistics/890390-double-timezone-specification#270268 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 5.6.30 -- Browser(s) name and version -- : Chrome last version -- Error-message(debug-mod must be tuned on) -- : 0 DateTime::&#95;&#95;construct(): Failed to parse time string (-001-11-29T23:40:28+00:00) at position 7 (-): Double timezone specification  Hi !  After update to the latest J! version today, wanting to edit my report, i get the following error :  0 DateTime::&#95;&#95;construct(): Failed to parse time string (-001-11-29T23:40:28+00:00) at position 7 (-): Double timezone specification  In my search in the forum, I could only find this topic that is related :  But this seems to old to be of help.  Any help will be grately appreciated !  Thanks !")*

Hi,

I don't know why you have that but the first dash shouldn't be there in the date.
Change the line:
return JHTML::_('date',$time,$format,false);
to:
return JHTML::_('date',ltrim($time,'-'),$format,false);
in the file administrator/components/com_hikashop/helpers/helper.php and that should prevent that issue from happening.
Please report back on the result.

The following user(s) said Thank You: [ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")

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

- **[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")**
- [![ijsbaanleuven's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34667.png)](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile") Topic Author
- [ Offline](/forum/user/34667-ijsbaanleuven)

Less More

- Posts: 72
- Thank you received: 2
-
-
- [](http://www.ijsbaanleuven.be)
-

9 years 6 months ago [\#270269](#270269) by [ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")  Replied by *[ijsbaanleuven](/forum/user/34667-ijsbaanleuven "View ijsbaanleuven's Profile")* on topic *[Double timezone specification](/forum/36-reports-statistics/890390-double-timezone-specification#270269 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 5.6.30 -- Browser(s) name and version -- : Chrome last version -- Error-message(debug-mod must be tuned on) -- : 0 DateTime::&#95;&#95;construct(): Failed to parse time string (-001-11-29T23:40:28+00:00) at position 7 (-): Double timezone specification  Hi !  After update to the latest J! version today, wanting to edit my report, i get the following error :  0 DateTime::&#95;&#95;construct(): Failed to parse time string (-001-11-29T23:40:28+00:00) at position 7 (-): Double timezone specification  In my search in the forum, I could only find this topic that is related :  But this seems to old to be of help.  Any help will be grately appreciated !  Thanks !")*

Hi Nicolas !

Thanks for the super fast replay (as usual) ![:-)](/media/kunena/emoticons/3.png ":-)")

Seems to work, but, in the "Display" box, in the field of the end date, I now get the following : 3940-02-03 01:19.
When I clear the filed and hit save, it just returns.

When I go to the calendar symbol to pick an end date, it starts in the year 2100 ![:-)](/media/kunena/emoticons/3.png ":-)") ![:-)](/media/kunena/emoticons/3.png ":-)")

When I choose the correct date and save the file it works just fine and stays correct.

BR,

Joris

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTAzOTAtZG91YmxlLXRpbWV6b25lLXNwZWNpZmljYXRpb24/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

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

9 years 6 months ago [\#270271](#270271) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Double timezone specification](/forum/36-reports-statistics/890390-double-timezone-specification#270271 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 5.6.30 -- Browser(s) name and version -- : Chrome last version -- Error-message(debug-mod must be tuned on) -- : 0 DateTime::&#95;&#95;construct(): Failed to parse time string (-001-11-29T23:40:28+00:00) at position 7 (-): Double timezone specification  Hi !  After update to the latest J! version today, wanting to edit my report, i get the following error :  0 DateTime::&#95;&#95;construct(): Failed to parse time string (-001-11-29T23:40:28+00:00) at position 7 (-): Double timezone specification  In my search in the forum, I could only find this topic that is related :  But this seems to old to be of help.  Any help will be grately appreciated !  Thanks !")*

Hi,

We'll look at doing a better patch then.
I'm glad the problem is now solved for you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTAzOTAtZG91YmxlLXRpbWV6b25lLXNwZWNpZmljYXRpb24/dG1wbD1tYXJrZG93bg==) 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.057 seconds

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