Date-Time Picker questions

Hey there… i use this in blueprint since long time…

fields:
  from:
    label: Start
    type: date
    width: 1/2
    required: true
    default: now
    time: true

with update from kirby 3.4 to 3.5.3.1 this results in

  1. not having a picker for time, but only for date.
  2. default: now results always in 00:00 o’clock

i also tried this with the same result:

fields:
  from:
    label: Start
    type: date
    width: 1/2
    required: true
    default: today
    time:
      default: now
      step: 5

Did i something wrong? or is something broken?

other questions:

There is already an issue on GitHub.

Hey… thx a lot…

are my other questions alao related to this bug?

If you query values from fields in the same page, this will only work after the data is stored, not on the fly. You could, however, use a page.update:before hook that checks both values and throws an error in case the end time is before the start time.

All available know plugins can be found here: Plugins | Kirby CMS