Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to set UTC+X instead of city #23

Open
steam3d opened this issue Jul 6, 2024 · 6 comments
Open

Option to set UTC+X instead of city #23

steam3d opened this issue Jul 6, 2024 · 6 comments

Comments

@steam3d
Copy link

steam3d commented Jul 6, 2024

Many cities are missing from the list of world times. It would be much easier to simply set a UTC+X value.

@symmetricalboy
Copy link
Contributor

@amoledwatchfaces It appears you are using only the primary names from the IANA tzdb, correct? Perhaps you could display the standard names, alternative names, abbreviations, & UTC offsets. Also see: @depau has a great app to reference for implementation called World Clock Tile.

@amoledwatchfaces
Copy link
Owner

amoledwatchfaces commented Sep 30, 2024

@symmetricalboy @steam3d World Clock Complication uses same city list as Google Clock. All time zones should be covered. I don't think it's necessary to add 4-5 cities with the same UTC offset.

@symmetricalboy
Copy link
Contributor

@amoledwatchfaces Perhaps add the bare UTC values still as an option?

What about a way to customize the displayed abbreviation?

@steam3d
Copy link
Author

steam3d commented Sep 30, 2024

@amoledwatchfaces some cities have summer and winter time so how can I know if the selected city with the necessary UTC offset will display the correct time throughout the year?

@amoledwatchfaces
Copy link
Owner

amoledwatchfaces commented Sep 30, 2024

@amoledwatchfaces some cities have summer and winter time so how can I know if the selected city with the necessary UTC offset will display the correct time throughout the year?

This is handled by TimeFormatComplicationText.Builder()

https://developer.android.com/reference/androidx/wear/watchface/complications/data/TimeFormatComplicationText.Builder

@amoledwatchfaces
Copy link
Owner

@amoledwatchfaces Perhaps add the bare UTC values still as an option?

What about a way to customize the displayed abbreviation?

I can add that to UTC section later.

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

No branches or pull requests

3 participants