Keyword

Joomla Update 3.7 & Dates Issue

  • Παναγιώτης Μαντζαρίδης
  • Παναγιώτης Μαντζαρίδης's Avatar Topic Author
  • Offline
  • New Member
More
8 years 1 month ago #161621 by Παναγιώτης Μαντζαρίδης
Joomla Update 3.7 & Dates Issue was created by Παναγιώτης Μαντζαρίδης
I ve updated Joomla to 3.7 on many sites. Some of them are news portals and we have the following issue:

On item creation & edit we change the dates (created & publish) to future datetime but on save it goes back to current datetime.

I guess its a js issue on the calendar but i could find where to change the field. If you could point where I cant find the field so i can remove the calendar js and keep straight textfield I would be glad.

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

  • Παναγιώτης Μαντζαρίδης
  • Παναγιώτης Μαντζαρίδης's Avatar Topic Author
  • Offline
  • New Member
More
8 years 1 month ago #161622 by Παναγιώτης Μαντζαρίδης
Replied by Παναγιώτης Μαντζαρίδης on topic Joomla Update 3.7 & Dates Issue
I ve found it in view.html.php on administrator so i change it to :
// Set up calendars
$lists = '<input type="text" id="created" name="created" value="'.$created.'" autocomplete="off">';
//JHTML::_('calendar', $created, 'created', 'created', '%Y-%m-%d %H:%M:%S');
$lists = '<input type="text" id="publish_up" name="publish_up" value="'.$publishUp.'" autocomplete="off">';

//JHTML::_('calendar', $publishUp, 'publish_up', 'publish_up', '%Y-%m-%d %H:%M:%S');
$lists = '<input type="text" id="publish_down" name="publish_down" value="'.$publishDown.'" autocomplete="off">';
//JHTML::_('calendar', $publishDown, 'publish_down', 'publish_down', '%Y-%m-%d %H:%M:%S');

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

More
8 years 1 month ago #161625 by JoomlaWorks
Replied by JoomlaWorks on topic Joomla Update 3.7 & Dates Issue
Can't confirm. Works fine on my end as it is.

Are you using v2.7.1 of K2 or v2.7.2 from the GitHub repo?

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

More
8 years 1 month ago #161626 by JoomlaWorks
Replied by JoomlaWorks on topic Joomla Update 3.7 & Dates Issue
My bad. The date works, but not the time.

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

More
8 years 1 month ago #161627 by JoomlaWorks
Replied by JoomlaWorks on topic Joomla Update 3.7 & Dates Issue
Seems like a bug. The time options should display by default. They don't. Filed it as a bug: github.com/joomla/joomla-cms/issues/15569

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


Powered by Kunena Forum