Review main Merged Breaking

64833[!!!][TASK] Replace bootstrap-datetimepicker

Andreas Kienast CR +2 V +2 Expert +1072 −389 updated 10/16/20, 15:57

Commit message

This patch replaces the bootstrap-datetimepicker with flatpickr which
is pretty lightweight.

Since this datetimepicker also has some sanity validation on board, much
custom datetime parsing in FormEngine can and has been removed,
including magic date manipulation by using addition or subtraction.

The year format for momentjs has been changed from `YYYY` to `Y` as well
to support years < 1000.

Currently the datepicker is not able to select a date < 100.
By manual selection, the picker jumps back to 1999 and not to 99 as
expected.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 25

Show 5 more files