Skip to content

Add week number format tokens#130

Open
spacevortex2435 wants to merge 1 commit into
danielchalmers:masterfrom
spacevortex2435:support-week-number-format
Open

Add week number format tokens#130
spacevortex2435 wants to merge 1 commit into
danielchalmers:masterfrom
spacevortex2435:support-week-number-format

Conversation

@spacevortex2435
Copy link
Copy Markdown

I provide a version of custom clock format tokens for ISO week numbers.

Supported tokens:

  • {week}: ISO week number
  • {weekYear}: ISO week-numbering year

This makes formats like {weekYear}-W{week} work in the clock display. The implementation keeps existing date/time format behavior unchanged and only handles these custom tokens before falling back to the normal formatter.

@github-actions github-actions Bot added the enhancement New feature or request label May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant