Using 12am as an end time with 12 hour time format shows wrong end time

Created on 31 July 2023, over 1 year ago
Updated 22 August 2023, over 1 year ago

Problem/Motivation

If you use 12am as an end time it shows the incorrect end time.

Steps to reproduce

Create a office hours field, use the HTML 5 input with 12 hour formats. Change the display to use 12 hour time format. Add an office hours that ends at 12am, it will show as 11pm and not 12am.

Proposed resolution

I am unsure as to where this is set in the code, any guidance would be helpful.

🐛 Bug report
Status

Closed: duplicate

Version

1.8

Component

Code

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