Conflicting Files ? Failure

User tests: Successful: Unsuccessful:

avatar Arpit-24
Arpit-24
30 Mar 2019

Pull Request for Issue #21148 .

Summary of Changes

Increased colspan of amp/pm selector to make it visible
Changed $this->format to the fixed format of "%Y-%m-%d %H:%M:%S" fixes the issue as the format is already converted and displayed properly using the calendar.js file so no need to change the format twice.

Testing Instructions

Please refer Issue #21148

Earlier there was a blank field displayed in the input text field after saving while it was correctly saved in the database.

Screenshot (1263)

The selection now appears properly :

Screenshot (1268)
Screenshot (1269)

avatar Arpit-24 Arpit-24 - open - 30 Mar 2019
avatar Arpit-24 Arpit-24 - change - 30 Mar 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Mar 2019
Category Libraries JavaScript
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 30 Mar 2019

@billtomczak @GCLW please Test.

avatar Bakual
Bakual - comment - 30 Mar 2019

When testing, kame sure to test not only with an english language but also with eg german and other languages that have different date/time formats.

avatar Arpit-24 Arpit-24 - change - 30 Mar 2019
Labels Added: ?
avatar Bakual
Bakual - comment - 1 Apr 2019

I had a bit time to look into this. The underlying issue is that the PHP strftime function doesn't recognize the %P format and thus results false. Checking the PHP documentation (http://us2.php.net/manual/en/function.strftime.php) it explicitely states that

Not all conversion specifiers may be supported by your C library, in which case they will not be supported by PHP's strftime().

So as I understand it, this depends on the server if %P is supported or not.
However in my test, %p ("AM/PM" instead of "am/pm") worked fine.

I honestly don't think we can do much here. The developer just has to use a format which is supported by the server.

avatar billtomczak
billtomczak - comment - 1 Apr 2019

I have tested this item successfully on 6f2e13d

Only tested in English, but the PR corrects all issues found


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24417.

avatar billtomczak
billtomczak - comment - 1 Apr 2019

I have tested this item successfully on 6f2e13d

Only tested in English, but the PR corrects all issues found


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24417.

avatar billtomczak billtomczak - test_item - 1 Apr 2019 - Tested successfully
avatar viocassel
viocassel - comment - 3 Apr 2019

I have tested this item successfully on 6f2e13d


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24417.

avatar viocassel viocassel - test_item - 3 Apr 2019 - Tested successfully
avatar Bakual
Bakual - comment - 3 Apr 2019

Please test with different languages. It's clear that it will work with english formats but your test is useless if you don't test with different languages (with and without "translateFormat" active and different hardcoded formats (with and without time, german format, french format, ...)

avatar ghost
ghost - comment - 24 Apr 2019

@billtomczak @viocassel can you please retest as @Bakual mentioned above?

avatar infograf768 infograf768 - change - 24 Apr 2019
Labels Removed: J3 Issue
avatar laoneo
laoneo - comment - 5 Apr 2022

Can you fix the conflicts please, so we can test it with a none English language and get it merged. Thanks for your work on this bug fix.

avatar ditsuke
ditsuke - comment - 10 Apr 2022

I think this user might no longer be active on GitHub, given the PR is 3 years old now.

avatar laoneo
laoneo - comment - 11 Apr 2022

Sometimes they come back. If not then we need to take some action on this.

avatar laoneo
laoneo - comment - 14 Apr 2022

Reopening the issue as this pr is abandoned.

avatar laoneo laoneo - change - 14 Apr 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-04-14 05:52:00
Closed_By laoneo
Labels Added: ?
Removed: ?
avatar laoneo laoneo - close - 14 Apr 2022

Add a Comment

Login with GitHub to post a comment