Keyword

Double timezone specification error

  • wintercorn
  • wintercorn's Avatar Topic Author
  • Offline
  • New Member
More
7 years 4 months ago #162784 by wintercorn
Double timezone specification error was created by wintercorn
Joomla - 3.7.3 Stable
Joomla Platform - 13.1.0 Stable
K2 - 2.7.1
php - 5.6.30-1~dotdeb+7.1
mysql - 5.5.55-0+deb7u1

I know there's another thread on this subject but that wasn't resolved and I wanted to flag this issue up. We have a site where when creating a new K2 item and clearing the Creation Date field stores the date as 30/11/-0001 - 00:00. Saving that item results in the following error:

DateTime::__construct(): Failed to parse time string (-1-11-30 00:00:00) at position 5 (-): Double timezone specification

Server, site and user timezones are set to UTC.

I've tried this with different users with no difference.

Any suggestions?

Thanks

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 4 months ago #162812 by Krikor Boghossian
Replied by Krikor Boghossian on topic Double timezone specification error

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • wintercorn
  • wintercorn's Avatar Topic Author
  • Offline
  • New Member
More
7 years 4 months ago #162813 by wintercorn
Replied by wintercorn on topic Double timezone specification error

Krikor wrote: Please look at this thread
www.joomlaworks.net/forum/k2-en/47780-error-double-timezone-specification?start=10


Looked at it. Are you suggesting using the dev code on a production site? Is this stable?

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

More
7 years 3 months ago - 7 years 3 months ago #163401 by shahsavan
Replied by shahsavan on topic Double timezone specification error
tanx i have this problem
Last edit: 7 years 3 months ago by shahsavan.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 3 months ago #163411 by Krikor Boghossian
Replied by Krikor Boghossian on topic Double timezone specification error
Please install the DEV version.
You can find it here: github.com/getk2/k2
Click on the download button in order to get the zip file.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum