Timezone Equilibrium

Yo Comm

Haven’t written here for a while. I am having issues with a world timer. The Top should show your city which you’re nearby. The rotational code for the cities layer is

$#Dz#=CET?0:$$#Dz#=UTC?15:$$#Dz#=GMT?15:$$#Dz#=EST?-270:$$#Dz#=PDT?180:$$#Dz#=AEST?220:$$#Dz#=CST?-262:$$#Dz#=MST?115:$$#Dz#=PST?130:$

(More to be added, once I found out all defined timezones for #Dz#)

Wth am I doing wrong. is this even possible?

Wait I just had an idea. the rotation goes hand in hand with your time anyways. so if I add ((24-rotational code of h)*360)/… it’s friday

I need a beer

1 Like

Nice idea.

Little tip:
You’re using #Dzzzz# for the “debug” text, which is a localized name for the time zone. That won’t help you with finding the #Dz# value if this watch face doesn’t work for someone.
For example, #Dz# for me is CET and #Dzzzz# is Midden-Europese standaardtijd (which doesn’t fit btw)

2 Likes

But I wanna use #Dz# I think I’ll just gooi het in de hoek
If there was a code for GMT or UTC I could use that

1 Like

I think a Beer is a Jolly good Idea .
I think you have a big problem trying to use #Dz# as the data source for your placement of the time zone data . For example . I doubt Watches in the Republic of South Africa show CAT Central Africa Time . But SAST South Africa Standard Time and many other contradictions like that . I am sorry to say you Have a Cats chance of getting all the time zones back on the community far less from users who want to help . I still think you best bet is to do Something with #DH#-#DUH# && || a couple more Beers.
BTW #DUH# is the code for GMT and UTC and ZULU etc.
Also to help with stuff n South Africa you could Invoke Mountain Lion he likes to help .

I like these sorts of faces that are hard to wrap your head around. Nice job.

@russellcresser , I think you are on to something there, that may be the path. :+1:

1 Like

So this is what I’ve got:

$#DD#>85&&#DD#<301?(((#DH#-#DUH#)*15)-30):(((#DH#-#DUH#)*15)-15)$

If [Day of year] is bigger than 85 and smaller than 301 (Daylight savings time), then UTC minus [current hour] times rotational code minus 15 degrees( because 0 is set to paris), if not, then UTC minus [current hour] times rotational code

needs to be updated every year, but

Please test

1 Like

Daylight savings doesn’t change on the same days everywhere…

1 Like

Just synced that Test Again for you.
I would expect London to be at the top with the Azores creeping in as I am in Cornwall. 50 06 35 N 05 33 06 W.
I would seriously forget about DST. For the scale of a practical dial that is readable. People will be delighted for the watch to let them know within the Hour. You have Half hour differences in Places.
I hope the Wrist Shot is helpful.
Also Watch Screen shot .

Screen_20220221_124521

1 Like