Skip to Content | Skip to Navigation


dojo.date.locale.getNames

API Info

full API:http://dojotoolkit.org/api/dojo/date/locale/getNames
summary:Used to get localized strings from dojo.cldr for day or month names.

Parameters

Signature

dojo.date.locale.getNames( /* String */ item,  /* String */ type,  /* String */ context,  /* String */ locale)

Overview

  • item String

    ‘months’ || ‘days’

  • type String

    ‘wide’ || ‘abbr’ || ‘narrow’ (e.g. "Monday", "Mon", or "M" respectively, in English)

  • context String

    ‘standAlone’ || ‘format’ (default)

  • locale String

    override locale used to find the names