Skip to content

plain/locale

  • The core functions, which every industry uses.
  • getLocaleEraNames: Return a locale’s Gregorian era names as [BCE-label, CE-label].
  • getLocaleMeridiems: Return a locale’s AM/PM (day-period) labels as [AM-label, PM-label].
  • getLocaleMonthNames: Return the 12 Gregorian calendar-month names for a locale, in calendar order (January first, December last — not alphabetical).
  • getLocaleWeekdayNames: Return the 7 weekday names for a locale, ordered starting from the locale’s first day of the week.

Last updated:

Accessibility
© 2026 NorthGuild · Licences

Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.