Prism · Locale

$localeDate

A date for a reader in a given locale. locale is required. A date without a time is read as UTC, so it does not slip a day west of Greenwich.

The source
{ starts_on: '2026-03-14' }
The config
{
  $localeDate: { value: { $ref: '$.starts_on' }, locale: 'en-GB' },
}
What comes out
'14 Mar 2026'
Output matches the expected value

Runs in this page on the installed package. The input and the expected output are defined by the example.