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.
{ starts_on: '2026-03-14' }{
$localeDate: { value: { $ref: '$.starts_on' }, locale: 'en-GB' },
}'14 Mar 2026'
Runs in this page on the installed package. The input and the expected output are defined by the example.