jQWidgets Forums

jQuery UI Widgets Forums Editors DateTimeInput Date format is wrong using en-US for culture

This topic contains 1 reply, has 2 voices, and was last updated by  admin 8 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Date format is wrong using en-US for culture #87683

    emberq
    Participant

    Sorry if this was already covered. I am trying to set culture on jqxDateTimeInput. When I set ‘en-US’ I get European date format – dd/MM/yy. I understand that I can also set the format on that control using formatString so I can set it to MM/dd/yy.

    But what happens when I allow the user to set the culture to say, ‘fr-FR’ for example? The formatString will still be in the code and will override the date format and keep it in US-style.

    I thought format for US should be MM/dd/yy once I set culture to ‘en-US’. If I use formatString everyone is stuck with that hardwired format. What am I missing?

    Thanks, Mike


    admin
    Keymaster

    Hi emberq,

    If you wish, you can edit these globalization files and write to the authors of Globalize public library, if you think they are wrong. The thing you mention is not related to us.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.