jQuery UI Widgets Forums Editors DateTimeInput formatString with culture

This topic contains 2 replies, has 3 voices, and was last updated by  EP 5 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • formatString with culture #84072

        culture: 'ko-KR',
        dayNameFormat: 'shortest',
        formatString: Globalize.cultures['ko-KR'].calendars.standard.patterns.d

    Is this right?

    formatString with culture #84093


    Hello tinywolf,

    It looks ok. If you have any other question feel free to ask.

    Best Regards,
    Hristo Hristov

    jQWidgets team

    formatString with culture #105352


    Hello Hristo, hello qwigets-team
    again a question ore two related to culture-specific formats.
    To the (Date) “one-character-fomats”, still missing a “short-date short-time” pattern
    I know I can define the patterns individually, but the “one-character-fomats” do have the advantage to work automatically on culture-selection without further action.
    I tried to $extend Globalize.cultures[‘xxx’].calendars.standard.patterns, for example by standard.patterns.e, this works using the property-name, but not using the one character “e” (“$e”) notation. Although I could use property-name, the one character is (very) advantageous
    If I look in globalize.js it seems to be considered somehow:

    expandFormat = function( cal, format ) {
    // %X escape format -- intended as a custom format string that is only one character, not a built-in format.

    but I can’t get it work

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

You must be logged in to reply to this topic.