
- @heythere asked for it.
- @pablo.heredia reminded me of a Fireship.io video
- I put something together
demo
Instructions
- slap this baby on the page
- feed it some numerical input
- take its output (
text) and show it to the world
Optional
4. if you got that need for speed, add @eliβs 1-T Input Watcher.
15 Likes
You can now enter locales.

2 Likes
man this plugin is pure gold!!!
1 Like
[1.5.0] β 2026-03-06
New:
Date formatter element
A brand-new element wrapping Intl.DateTimeFormat β full locale-aware date and time formatting with zero external dependencies.
Two formatting modes:
- Preset mode β quick formatting via
dateStyle / timeStyle (full, long, medium, short)
- Custom mode β granular control over individual components (weekday, year, month, day, hour, minute, second)
Core fields:
- Date β the date to format
- Locale β any BCP 47 locale (e.g.
en-US, ja-JP, de-DE, ar-EG)
- Time zone β any IANA timezone (e.g.
America/New_York, Asia/Tokyo)
Preset mode fields:
- Date style β
full, long, medium, short, or none
- Time style β
full, long, medium, short, or none
Custom mode fields:
- Weekday β
long, short, narrow
- Year β
numeric, 2-digit
- Month β
numeric, 2-digit, long, short, narrow
- Day β
numeric, 2-digit
- Hour / Minute / Second β
numeric, 2-digit
- Hour cycle β
h12, h23, h24, h11, or auto
Date range formatting:
- End date β when provided, uses
formatRange() for natural ranges like βJan 5 β 10, 2026β
Advanced:
- Advanced options (JSON) β raw JSON override for full
Intl.DateTimeFormat access
Output states:
- Formatted date β the formatted date string
- Formatted range β the formatted range (empty if no end date)
- Formatted parts (JSON) β
formatToParts() output for custom rendering
- Error message β empty on success, descriptive error on failure