Created
March 1, 2018 13:25
-
-
Save cschuff/e293fec516f2a897f97250ec12da7950 to your computer and use it in GitHub Desktop.
Accessing SAPUI5 CLDR Resources
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// see https://sapui5.hana.ondemand.com/#docs/api/symbols/sap.ui.core.LocaleData.html | |
// see https://github.com/SAP/openui5/blob/master/src/sap.ui.core/src/sap/ui/core/cldr/de.json | |
var data = jQuery.sap.loadResource("sap/ui/core/cldr/de.json", { | |
dataType: "json", | |
failOnError : false | |
}); | |
var hourNarrow = data.dateFields["hour-narrow"].displayName; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment