jQWidgets Forums

jQuery UI Widgets Forums General Discussions 2-digit year for jqxdatetimeinput

This topic contains 6 replies, has 4 voices, and was last updated by  Hristo 5 years, 10 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • 2-digit year for jqxdatetimeinput #100526

    pauld
    Participant

    The previous version of our app allowed users to key in a 2-digit year where values between 00 and 25 were assigned to 2000 and values between 26 and 99 were assigned to 1900; these ranges and assignments were configurable. The new version of our app is using jqxdatetimeinput and users are complaining about the lack of 2-digit support because they feel it is inefficient and is resulting in bad data (e.g., if you forget to enter 4-digits, entering “18” gets translated to 1900).

    Are there plans to support 2-digit year input?

    Thanks

    2-digit year for jqxdatetimeinput #100528

    Martin
    Participant

    Hello pauld,

    The jqxDateTimeInput has the property ‘formatString’, by which you can set a custom format for the date.
    Here is an Example with 2-digits year format.

    However, when you focus the input, still the whole year will be displayed.

    Best Regards,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/

    2-digit year for jqxdatetimeinput #101335

    pauld
    Participant

    Hi, Martin

    Thanks for the response. We understand how the current functionality works, but our users find it quite inefficient to have to input a 4-digit year — and they have a hard time remembering this because most other apps (e.g. MS Outlook, Excel, etc.) understand 2-digits and automatically convert it to 4-digits. The results of keying in a 2-digit year lead to all kinds of data quality issues. E.g,. in your fiddle example, if you key “01/01/13”, the results are quite unexpected (from an end-user’s perspective) — it starts 01/01/1300 and then when it loses focus, it changes to 01/01/00 (01/01/1900) based on the “min” property. For users who do heads-down data entry, this is a big usability challenge 🙁

    Is there a way to add support for 2-digit input currently? If not, is it on the roadmap?

    Thanks!

    2-digit year for jqxdatetimeinput #101343

    admin
    Keymaster

    Hi pauld,

    I added a work item about this behavior. We see it indeed as a missing feature in our DateTimePicker. We will put it in the next roadmap period, too.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    https://www.jqwidgets.com

    2-digit year for jqxdatetimeinput #104861

    pauld
    Participant

    Hi, Peter

    Can we expect to see support for 2-digit year in an upcoming release? We’d like to be able to communicate at least a rough time frame to our clients.

    Thanks

    2-digit year for jqxdatetimeinput #106316

    pauld
    Participant

    Any chance that we’ll see this in an upcoming 8.x release?

    Thanks

    2-digit year for jqxdatetimeinput #106320

    Hristo
    Participant

    Hello pauld,

    Thank you for your interest.
    We will discuss this with my colleagues.
    Meanwhile, I would like to suggest you our new DateTimePicker which is included in the jQWidgets subscription: datetimepicker web component of the DateTimePicker component.
    Also, you could find for useful its yearCutoff property.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.