[O3 Framework](../API.md) / getDefaultCalendar

# Function: getDefaultCalendar()

> **getDefaultCalendar**(`locale`): `undefined` \| `CalendarIdentifier`

Defined in: [packages/framework/esm-utils/src/dates/date-util.ts:164](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/dates/date-util.ts#L164)

Retrieves the default calendar for the specified locale if any.

## Parameters

### locale

the locale to look-up

`undefined` | `string` | `Locale`

## Returns

`undefined` \| `CalendarIdentifier`
