fsaiyuk2002
fsaiyuk2002

Reputation: 71

default locale change, version 5.0.1 -> 5.1

(sorry my english) Hi.

With 5.0.1, the default short date format for locale "es" (in config.json) return this date format "10/01/2017"

With 5.1, the default short date format for locale "es" (in config.json) return this date format "10 ene. 2017".

I think is a coherent change. But I need keep working with the old format. So, where I must touch to get the old format in a entire new 5.1 qooxdoo project? I mean, where this locale format is defined? I was trying found where but I can't. Or any other solution.

thanks

Upvotes: 1

Views: 58

Answers (1)

geonik
geonik

Reputation: 181

This snippet works for us

        this._localeManager = qx.locale.Manager.getInstance();
        this._localeManager.addLocale("el", {
            "cldr_date_format_short": "dd/MM/yyyy" // Override short date format for Greek
        });

Upvotes: 1

Related Questions