Skip to content

Clock shows 0:00 PM when used with empty value with 24h time format #10

Description

@KilianCroese

I'm using Mendix 6.6.0. Don't think this matters.

I have the Clock Picker for Mendix on a page connected to a datetime attribute that has an empty value. The time format is set to 24 Hour.

Now when I open the Clock Picker. It shows 00:00 PM. I've found 3 issues with this:

  1. 00:00 is AM and not PM
  2. The PM should not even be shown, since the time format is set to 24 Hour
  3. When you select a time below 12:00, say 10:00. This is stored as 22:00 since it thinks you selected 10:00 PM.

I don't this this is an issue with the widget itself, but in the library used. I've created a simpel fix in the library. Unfortunately the library itself is not maintained anymore.

Please see: KilianCroese@56db771

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions