Yetiforcecrm: [bug] 12 Hour Clockpicker "Please enter valid time"

Created on 26 Mar 2020  路  6Comments  路  Source: YetiForceCompany/YetiForceCRM

馃悶 bug report

鈦夛笍 Describe the bug


in 5.3 SP 2 as well as gitstable does not allow to save time when using 12 hour format. It is fixed in current git developer but was not coming with a second service pack.

馃敟 How to trigger the error

Gitstable
2020-03-26_01-42-51 (1)

Our Instance
2020-03-26_01-47-21 (1)

馃憥 Actual Behavior


Time is not saved

馃憤 Expected Behavior


Time saved

馃懛 Testing

馃摲 Screenshot of configuration


Git Stable

馃摑 PHP/Apache/Nginx/Browser/CRM Logs

Git Stable

馃實 Your Environment



Git Stable
|
| Service Pack version | 2|

馃悰 bug

All 6 comments

The clockpicker is adding an extra space between the AM/PM and the time.

Creating 10:00 AM - extra space - invalid
and not 10:00 AM - no extra space - valid

Been an issue every release as far back as I can remember. No effort has gone into correcting it for 12 hour since it works for those in 24 hours.

The problem is in the clockpicker library itself, they have a wrongly compiled min.js file in there.
You can solve this error quickly in 2 ways:

  1. Remove public_html/libraries/clockpicker/dist/bootstrap4-clockpicker.min.js file
  2. Disable loading min.js files config/Developer.php ($MINIMIZE_JS)

Wow @rskrzypczak finally someone with a solution for an issue with this system that actually works. Thanks so much man, it worked perfectly. Assuming it doesn't cause issues elsewhere that is lol.

Would you mind helping me out with this other issue that I really need to get working asap? #12793

Thanks again mate!

install service pack v4

Was this page helpful?
0 / 5 - 0 ratings

Related issues

johntonji picture johntonji  路  3Comments

skramanzia picture skramanzia  路  3Comments

rskrzypczak picture rskrzypczak  路  3Comments

ezbank picture ezbank  路  3Comments

ldgbc picture ldgbc  路  3Comments