Skip to content

Allow selecting different calendars in clock widget#3230

Merged
exelban merged 1 commit into
exelban:masterfrom
IonBazan:calendars
May 24, 2026
Merged

Allow selecting different calendars in clock widget#3230
exelban merged 1 commit into
exelban:masterfrom
IonBazan:calendars

Conversation

@IonBazan

Copy link
Copy Markdown
Contributor

This PR aims to fix #2590 by allowing to customize calendar to be used in clock widget.

Available options vary between OS versions though.

image

@exelban

exelban commented May 21, 2026

Copy link
Copy Markdown
Owner

please explain me how its fixes #2590

PS: i'm not telling that its a bad PR, just not related to the math in the time

@IonBazan

IonBazan commented May 21, 2026

Copy link
Copy Markdown
Contributor Author

The initial proposal was to allow subtracting a specific number from year (for Japan it would be 2019 to mark Reiwa era). However, I believe it is better to leave date format calculation to the OS which already supports a bunch of different calendars, including these with different dates and months - some calendars don't start on 1 Jan. It won't allow counting years from any arbitrary date as it's limited to a few custom ones though. Both calendars: Japanese (Wareki) and Taiwanese (Minguo) are supported by this change.

Mac settings allow to customize it in similar fashion:
image

@exelban

exelban commented May 21, 2026

Copy link
Copy Markdown
Owner

LGTM, thanks

@exelban exelban merged commit d1dfe8e into exelban:master May 24, 2026
1 check passed
@IonBazan IonBazan deleted the calendars branch May 24, 2026 18:08
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.

Feature Request: Basic math in Clock format

2 participants