dojo.date.locale.getNames
dojo.require("dojo.date.locale");
defined in dojo/date/locale.js
Used to get localized strings from dojo.cldr for day or month names.
parameter | type | description |
---|---|---|
item | String | months || 'days' |
type | String | wide || 'narrow' || 'abbr' (e.g. "Monday", "Mon", or "M" respectively, in English) |
use | String | Optional. standAlone || 'format' (default) |
locale | String | Optional. override locale used to find the names |