Functiondojo.date.locale.addCustomFormats

dojo.require("dojo.date.locale");
defined in dojo/date/locale.js

The user may add custom localized formats where the bundle has properties following the same naming convention used by dojo.cldr: dateFormat-xxxx / timeFormat-xxxx The pattern string should match the format used by the CLDR. See dojo.date.locale.format() for details. The resources must be loaded by dojo.requireLocalization() prior to use

Usage

function (/*String*/ packageName, /*String*/ bundleName) (view source)
parametertypedescription
packageNameString 
bundleNameString