- Posts: 57
COMMUNITY FORUM
Error with dates in Joomla 3.7.3
- Klaus Veliu
- Topic Author
- Offline
- Senior Member
Less
More
7 years 4 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?!
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
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 57
7 years 4 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
prntscr.com/fsa05e
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 4 months ago #162747
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Error with dates in Joomla 3.7.3
Hello,
Which version of K2 are you using?
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
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 57
7 years 4 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.
- Ghita Mihai
- Offline
- New Member
Less
More
- Posts: 6
7 years 4 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.
- Pascual
- Offline
- New Member
Less
More
- Posts: 1
7 years 4 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?
Latest versions of Joomla and K2 here.
Any ideas?
Please Log in or Create an account to join the conversation.
- Ghita Mihai
- Offline
- New Member
Less
More
- Posts: 6
7 years 4 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.
- Ghita Mihai
- Offline
- New Member
Less
More
- Posts: 6
7 years 4 months ago - 7 years 4 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
- 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 4 months ago by Ghita Mihai. Reason: Add error
Please Log in or Create an account to join the conversation.
- Ljubo Jurošević
- Offline
- New Member
7 years 4 months ago - 7 years 4 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 4 months ago by Ljubo Jurošević.
Please Log in or Create an account to join the conversation.
- Ghita Mihai
- Offline
- New Member
Less
More
- Posts: 6
7 years 4 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.