Menu

#593 edit-calendar time parsing issue

Git
closed-fixed
nobody
None
5
2018-02-08
2018-02-08
No

Using the latest https://raw.githubusercontent.com/vrana/adminer/master/plugins/edit-calendar.php combined with the latest http://trentrichardson.com/examples/timepicker/jquery-ui-timepicker-addon.js

When editing a datetimefield the following error is given (and only the date is shown in the dropdown):

Error parsing the date/time string: Wrong time format
date/time string = 2017-10-24 11:53:53
timeFormat = HH:mm:ss.lcZ
dateFormat = yy-mm-dd

Removing the .lcZ from edit-calendar.php fixes the issue.

Discussion

  • Jakub Vrána

    Jakub Vrána - 2018-02-08
    • status: open --> closed-fixed
     
  • Jakub Vrána

    Jakub Vrána - 2018-02-08

    Fixed in Git.

     
  • Michiel Hazelhof

    Damn, that was fast :)

     

Log in to post a comment.