- Posts: 2
COMMUNITY FORUM
Joomla Update 3.7 & Dates Issue
- Παναγιώτης Μαντζαρίδης
- Topic Author
- Offline
- New Member
Less
More
6 years 11 months 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.
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.
- Παναγιώτης Μαντζαρίδης
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
6 years 11 months 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');
// 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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6208
6 years 11 months ago #161625
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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?
Are you using v2.7.1 of K2 or v2.7.2 from the GitHub repo?
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6208
6 years 11 months ago #161626
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Joomla Update 3.7 & Dates Issue
My bad. The date works, but not the time.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6208
6 years 11 months ago #161627
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.