?
avatar infograf768
infograf768
9 Jun 2017

When using the Persian calendar and choosing another day than the present day, then hitting return, it is always the present day which is displayed/saved.

@dgt41

Release blocker

Test made here on publishing date:

jalali

avatar infograf768 infograf768 - open - 9 Jun 2017
avatar joomla-cms-bot joomla-cms-bot - change - 9 Jun 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 9 Jun 2017
avatar infograf768 infograf768 - change - 9 Jun 2017
Labels Added: ?
avatar infograf768 infograf768 - labeled - 9 Jun 2017
avatar dgt41
dgt41 - comment - 9 Jun 2017

@infograf768 according to the code: https://github.com/joomla/joomla-cms/blob/staging/media/system/js/fields/calendar.js#L540-L544
shift + enter is the enter equal (accept value and enter is the same as escape. I don't remember why we did it like this

avatar infograf768
infograf768 - comment - 9 Jun 2017

@dgt41
Enter alone works for en-GB

avatar infograf768
infograf768 - comment - 9 Jun 2017

Tried shift enter and tab => same result

avatar infograf768
infograf768 - comment - 9 Jun 2017

Also, if the Publishing field is empty for example, when i choose today, it does not save here at all. Field is saved empty

avatar Bakual
Bakual - comment - 9 Jun 2017

"Enter" acting as "Escape" certainly is wrong and unexpected behavior. "Shift-Enter" is basically a useless combinations since there is no hint that we can use that 😄

avatar dgt41
dgt41 - comment - 9 Jun 2017

@Bakual I don't remember the exact reason but had to do with the ability to keep the manual input of text in the field, you might remember that discussion...

avatar infograf768
infograf768 - comment - 9 Jun 2017

The other issue when field is empty (Publishing field)

jalali2

avatar infograf768
infograf768 - comment - 9 Jun 2017

Nope.

avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Jun 2017
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Jun 2017
Category JavaScript
avatar farhadst
farhadst - comment - 12 Jun 2017

Hi
This problem arose in joomla 3.7
After the digit were written in Persian
I also can not manually enter a date
There was no such problem in joomla 3.6, which was the English digit.
Now for choose another day before today, i should first choosing hour and then choose the day.
but after change any digit, date reset to today

avatar farhadst
farhadst - comment - 12 Jun 2017

I have change digit in media/system/js/fields/calendar-locales/fa-ir.js from persian to latin
cal
but problem not fix, then replace media/system/js/fields/calendar.min.js by same file in joomla 3.7 package, and some problem fix
cal2

avatar infograf768 infograf768 - change - 21 Jun 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-06-21 08:29:39
Closed_By infograf768
avatar infograf768 infograf768 - close - 21 Jun 2017
avatar infograf768
infograf768 - comment - 21 Jun 2017

Closing as we have a patch #16794

avatar joomla-ua
joomla-ua - comment - 29 Jun 2017

Calendar always saves seconds like ":00"

  1. If select TODAY in datepicker set date and time as 2017-06-29 04:17:47 but after save replace date and time as 2017-06-29 04:17:00
  2. Always save article with seconds like ":00"

#16908

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 29 Jun 2017

@joomla-ua thanks for reporting. As you have open a new Issue its not necessary to report same issue on another, closed issue.

avatar zero-24 zero-24 - change - 16 Oct 2017
Labels Removed: ?
avatar zero-24 zero-24 - unlabeled - 16 Oct 2017

Add a Comment

Login with GitHub to post a comment