This topic contains 2 replies, has 3 voices, and was last updated by EP 5 years, 11 months ago.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
jQuery UI Widgets › Forums › Editors › DateTimeInput › formatString with culture
Tagged: #jqxdatetimeinput, Angular datetimeinput, bootstrap datetimeinput, culture, extend one character pattern, formatString, javascript datetimeinput, jquery datetimeinput, jqwidgets datetimeinput, language, localization
This topic contains 2 replies, has 3 voices, and was last updated by EP 5 years, 11 months ago.
$("#jqxDateTimeInput").jqxDateTimeInput(
{
culture: 'ko-KR',
dayNameFormat: 'shortest',
formatString: Globalize.cultures['ko-KR'].calendars.standard.patterns.d
}
);
Is this right?
Hello tinywolf,
It looks ok. If you have any other question feel free to ask.
Best Regards,
Hristo Hristov
jQWidgets team
http://www.jqwidgets.com
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
You must be logged in to reply to this topic.