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