Widget shows seconds when using HTML time

Created on 17 April 2023, over 1 year ago
Updated 8 May 2023, over 1 year ago

Problem/Motivation

When you first create an office hours and using HTML time, the seconds are not shown in the time input. When you add a value to the HTML time input, save and then go to edit the office hours the seconds are shown.

Steps to reproduce

Create an office hours field and using HTML time for the times. Now create a new hours and all the HTML time fields do not show seconds. Save the hours and then go back in and edit, and you will now see any times that you create have seconds shown. All times that do not have a value, do not show the seconds. I think they should all be the same and not show the seconds. See the screenshot:

Also, there is different behaviour when you press 'Add exception'

Proposed resolution

After investigating, I could not find the place in the code where this is set. All the values seem to be correct and formats have the time without the seconds, so looking to you to see if you know where this can be fixed.

🐛 Bug report
Status

Fixed

Version

1.8

Component

Code - widget

Created by

🇨🇦Canada ebremner

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024