Can not parse date for "Sept"

{time: dddd; at={site: text; page=https://calendar.google.com/; selector=#xStDaIn}} {time: Do MMMM YYYY; at={site: text; page=https://calendar.google.com/; selector=#xStDaIn}}
at {site: text; page=https://calendar.google.com/*; selector=[data-axe="mdc-autocomplete"]}

This works with all months except when the date is 1 Sept 2026

I know i have to use a pattern but i can not work it out.
Colin

Hi Colin,

The D MMM YYYY pattern is generally what you would use to match a short month like that ("Jun", "Jul", etc...), however it expects "Sep" not "Sept".

You can replace the "Sept" with "Sep" in your date to make it something D MMM YYYY will work on. Here is an example:

{formtext: name=date; default=1 Sept 2026}
Parsed date: {time: LL; at={=replace(date, "Sept", "Sep")}; pattern=D MMM YYYY}

Thank you for your reply. I was able to work it out from your example.
Colin