Skip to content

feat: Add day and month name tokens to Time element format#5602

Merged
kof merged 2 commits intowebstudio-is:mainfrom
zehjotkah:feature/time-element-day-month-names
Feb 5, 2026
Merged

feat: Add day and month name tokens to Time element format#5602
kof merged 2 commits intowebstudio-is:mainfrom
zehjotkah:feature/time-element-day-month-names

Conversation

@zehjotkah
Copy link
Contributor

Fixes https://discord.com/channels/955905230107738152/955905231227609158/1467592164727849104

  • Add DDDD/DDD tokens for full/short day names (e.g., Monday/Mon)
  • Add MMMM/MMM tokens for full/short month names (e.g., January/Jan)
  • Day and month names are localized based on selected language
  • Simplify format field tooltip for better UX
  • Add comprehensive tests for new tokens in multiple languages
  • Maintain backward compatibility with existing format tokens

- Add DDDD/DDD tokens for full/short day names (e.g., Monday/Mon)
- Add MMMM/MMM tokens for full/short month names (e.g., January/Jan)
- Day and month names are localized based on selected language
- Simplify format field tooltip for better UX
- Add comprehensive tests for new tokens in multiple languages
- Maintain backward compatibility with existing format tokens
@kof
Copy link
Member

kof commented Feb 5, 2026

Is there anything breaking for existing users if they used previous format? If not I think this can be merged as-is

@zehjotkah
Copy link
Contributor Author

Is there anything breaking for existing users if they used previous format? If not I think this can be merged as-is

we just add formats which were not available before. All previous available settings continue to work exactly as before.

@kof kof merged commit c28172e into webstudio-is:main Feb 5, 2026
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants