Keyword

Error with dates in Joomla 3.7.3

  • Klaus Veliu
  • Klaus Veliu's Avatar Topic Author
  • Offline
  • Senior Member
More
7 years 9 months ago #162745 by Klaus Veliu
Error with dates in Joomla 3.7.3 was created by Klaus Veliu
Hello,

After updating Joomla in the latest version(3.7.3) I am having a very weird issue with all my sites.
Sometimes not always the users when adding new items the Creation date is not saved correctly and when inspecting the HTML I found that this values here are not in the standard format prntscr.com/fs8fa0. As I switched back to Joomla 3.7.2 I don't have an exact example to show, but the values not formated correctly are shown in the image and the error upon save or save and close is Error: 0 DateTime::__construct(): Failed to parse time string (-1-11-30 01:19:20) at position 5 (-): Double timezone specification

Could someone help me with this issue?!

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

  • Klaus Veliu
  • Klaus Veliu's Avatar Topic Author
  • Offline
  • Senior Member
More
7 years 9 months ago #162746 by Klaus Veliu
Replied by Klaus Veliu on topic Error with dates in Joomla 3.7.3
The error is appearing even on Joomla 3.7.2
prntscr.com/fsa05e

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 9 months ago #162747 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error with dates in Joomla 3.7.3
Hello,

Which version of K2 are you using?

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

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

  • Klaus Veliu
  • Klaus Veliu's Avatar Topic Author
  • Offline
  • Senior Member
More
7 years 9 months ago #162750 by Klaus Veliu
Replied by Klaus Veliu on topic Error with dates in Joomla 3.7.3
The latest one that is for available for download in getk2 website

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

More
7 years 9 months ago #162827 by Ghita Mihai
Replied by Ghita Mihai on topic Error with dates in Joomla 3.7.3
The same problem i have with k2 after updating to joomla 3.7.3.

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

More
7 years 9 months ago #162830 by Pascual
Replied by Pascual on topic Error with dates in Joomla 3.7.3
Same problem here, but it's randomly affecting. Sometimes we do "save" or "save & close" and it works fine, and sometimes it shows "Error: 0 DateTime::__construct(): Failed " issue, blocks the article and shows wrong date in the frontend.
Latest versions of Joomla and K2 here.

Any ideas?

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

More
7 years 9 months ago #162877 by Ghita Mihai
Replied by Ghita Mihai on topic Error with dates in Joomla 3.7.3
In all K2 sites the data is displayed (created date 30/11 / -0001 - 02:00) after updating Joomla 3.7.3. I need to change the date manually every time

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

More
7 years 9 months ago - 7 years 9 months ago #162957 by Ghita Mihai
Replied by Ghita Mihai on topic Error with dates in Joomla 3.7.3
I noticed that the date disappears (creation date) when a tag is added before publishing an article. I do not explain why it happens.

- When you publish an article without adding tags the date is displayed correctly.

- Article with tags - Error: DateTime::__construct(): Failed to parse time string (-1-11-30 02:00:00) at position 5 (-): Double timezone specification
Last edit: 7 years 9 months ago by Ghita Mihai. Reason: Add error

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

More
7 years 9 months ago - 7 years 9 months ago #162962 by Ljubo Jurošević
Replied by Ljubo Jurošević on topic Error with dates in Joomla 3.7.3
Maybe, its same reason for my probleme here to: www.joomlaworks.net/forum/k2-en/48006-sql-1064#162953 with k2 modules, also give error with dates order... IDK
Last edit: 7 years 9 months ago by Ljubo Jurošević.

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

More
7 years 9 months ago #162964 by Ghita Mihai
Replied by Ghita Mihai on topic Error with dates in Joomla 3.7.3
I tested K2-DEV version and no errors. The issue is K2 version 2.7.1 with Joomla 3.7.3

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

More
7 years 9 months ago #162980 by racingkars
Replied by racingkars on topic Error with dates in Joomla 3.7.3
Same problem here: K2 version 2.7.1 Joomla version 3.7.3

Still no solution??

Best regards,

racingkars

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

More
7 years 9 months ago #162982 by Alan Campbell
Replied by Alan Campbell on topic Error with dates in Joomla 3.7.3
This seems to be reproducible on my set up (stable up to date releases of Joomla and K2).

Seems to happen whenever I edit a post via the front end.

Haven't yet tracked down the individual expression causing the issue.

Alan

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 9 months ago #163001 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error with dates in Joomla 3.7.3
Hello Alan,

You can update to the DEV version which solves this issue.

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

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

  • Miguel Vázquez González
  • Miguel Vázquez González's Avatar
  • Offline
  • New Member
More
7 years 9 months ago #163017 by Miguel Vázquez González
Replied by Miguel Vázquez González on topic Error with dates in Joomla 3.7.3
I have the same problem: Joomla! 3.7.3 and K2 v2.7.1, in the backend when I save an article with a tag, the creation date change the format and then it's imposible to edit the article again.

Where is it posible to download DEV version to test if the problem is solved?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 9 months ago #163042 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error with dates in Joomla 3.7.3
You can get it from here: github.com/getk2/k2

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

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

  • Miguel Vázquez González
  • Miguel Vázquez González's Avatar
  • Offline
  • New Member
More
7 years 9 months ago - 7 years 9 months ago #163045 by Miguel Vázquez González
Replied by Miguel Vázquez González on topic Error with dates in Joomla 3.7.3
Thanks, I install de DEV version 2.8.0 from github.com/getk2/k2 and the problem with the creation date when I save an article with a tag is SOLVED
Last edit: 7 years 9 months ago by Miguel Vázquez González.

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

More
7 years 9 months ago #163052 by Abdalla Lima
Replied by Abdalla Lima on topic Error with dates in Joomla 3.7.3
Same problem here, described at: www.joomlaworks.net/forum/k2-en/48032-wrong-date-on-first-daily-post

I didn't have linked the problem a TAGs use on new posts.

After see this topic, I did tests in both (frontend and backend) and the problem appear.

Now my doubt: is secure use this version on production enviroment ? :(

What the prevision for release with this correction?

In my case creations date is 29/11/-0001

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

More
7 years 9 months ago #163064 by esedic
Replied by esedic on topic Error with dates in Joomla 3.7.3
I have problems with displaying extra field type 'date'.
Instead of formatted date I get
%AM, %27. %041 %2017
Database value is 2017-07-27
I'm using Joomla 3.7.3 and latest K2 dev version.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 9 months ago #163088 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error with dates in Joomla 3.7.3
Have you edited the model in any way, or the field's value?

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

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

More
7 years 9 months ago #163093 by esedic
Replied by esedic on topic Error with dates in Joomla 3.7.3
I've installed latest dev version from Github again and problem is gone, I think it was a caching issue.

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


Powered by Kunena Forum