When you add an additional timeslot for a day and use the starting time as 0:00, it is hidden when editing the node again.
The problem is that there is a check on starthours not being empty, but it doesn't take '0' into account. The value of starthours is '0' when the time is set to 0:00.

I'll add a small patch to fix this issue.

CommentFileSizeAuthor
#2 3180379-2.patch752 bytesspadxiii

Comments

SpadXIII created an issue. See original summary.

spadxiii’s picture

Status: Active » Needs review
StatusFileSize
new752 bytes
johnv’s picture

Title: Additional timeslots starting at 0:00 are hidden in form » Widget hides Additional timeslots starting with 0:00

  • johnv committed c1d7931 on 8.x-1.x authored by SpadXIII
    Issue #3180379 by SpadXIII: Widget hides Additional timeslots starting...
johnv’s picture

Version: 8.x-1.x-dev » 8.x-1.3
Component: Code » Code - widget
Status: Needs review » Fixed

Committed. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.