jQWidgets Forums

jQuery UI Widgets Forums Editors DateTimeInput showTimeButton without AM/PM

This topic contains 2 replies, has 2 voices, and was last updated by  Klaus H 9 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • showTimeButton without AM/PM #73377

    Klaus H
    Participant

    Hi,

    is it possible to use the showTimeButton feature without AM/PM format?

    As an example I have used your standard fiddle for showTimeButton http://jsfiddle.net/jqwidgets/38qo78yy/ and tried to achieve this with changing the format string.

    With formatString: “dd.MM.yyyy HH:mm:ss” it is possible to enter an hour value of 23 but in the display string it is replaced with 11. The AM/PM selector is displayed in the input mask.

    I also tried formatString: “dd.MM.yyyy hh:mm:ss”, there it gets weirder, the AM/PM selector is gone from the input mask and then of course I can only enter values between 1 and 12.

    Could you please take a look into that matter and tell me if it’s possible to enter a Date like 06.07.2015 23:00:00 and have that displayed?

    Kind Regards
    Klaus

    showTimeButton without AM/PM #73387

    ivailo
    Participant

    Hi Klaus,

    We will fix that problem in the upcoming versions.
    Actually you can display a Date like 06.07.2015 23:00:00, but when the selector is set to PM.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    showTimeButton without AM/PM #73389

    Klaus H
    Participant

    Hi,

    thanks for the response, upcoming versions will be fine. AM/PM is not common in Europe, so this would confuse users right now.

    Kind Regards
    Klaus

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.