Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
lilstewart said:
If someone is out of the US and needs a different time zone, let me know how many hours to deduct or add.
I want one for GMT + 02:00 hours (Norway).
Thank you! 🙂
 
Hold on, why do you need differing time zones anyway - it doesn't matter where in the world you are, the keynote will still be happening at the same time....??? 😕
 
hob said:
Hold on, why do you need differing time zones anyway - it doesn't matter where in the world you are, the keynote will still be happening at the same time....??? 😕

The widget problably uses the time from the computer as current time, which is in the timezone of the computer, while the target date/time is in another one.
 
regre7 said:
There isn't one for our friends in the Mountain time zone? I think they're GMT -7:00.

And then there's those friends in Hawaii and Alaska... 😉
 
D3LM3L said:
Could you please make it in UK/GMT time? I'm gonna be there during WWDC. Thanks!

It's worth remembering that UK time is currently BST, which it GMT+1...

lilstewart - I'm not sure how much work you're making for yourself here - potentially 24 (or more?) different versions of the same application.

I've never made an application is OS X, and barely scratched the surface in Windows (back in my A-Level days), but it can't be THAT hard to work out what the system time is, and also what timezone that pertains to?

Perhaps, the easiest thing to do would be to have a drop-down menu on the back of the widget so users can select which timezone they are in...?
 
hob said:
It's worth remembering that UK time is currently BST, which it GMT+1...

lilstewart - I'm not sure how much work you're making for yourself here - potentially 24 (or more?) different versions of the same application.

I've never made an application is OS X, and barely scratched the surface in Windows (back in my A-Level days), but it can't be THAT hard to work out what the system time is, and also what timezone that pertains to?

Perhaps, the easiest thing to do would be to have a drop-down menu on the back of the widget so users can select which timezone they are in...?
Trust me, I've tried and I just don't know how. 🙁 😱

And it's not that big of a deal, since it's made I can just change it quickly and export the widget and zip it. 🙂
 
lilstewart said:
Trust me, I've tried and I just don't know how. 🙁 😱

And it's not that big of a deal, since it's made I can just change it quickly and export the widget and zip it. 🙂

Ah that's a shame - all compliments to you for making such a good widget, but it makes me want to learn how to make them so I could add the menu to the back of it!! (also, I've been meaning to for a while)...

Give me 20 days 😛
 
lilstewart said:
Trust me, I've tried and I just don't know how. 🙁 😱

And it's not that big of a deal, since it's made I can just change it quickly and export the widget and zip it. 🙂

lilstewart, is it okay if I look into your widget and try to get it to correctly handle the "time-zone" issue? I'm pretty sure there's a way via Date.UTC()
 
dejo said:
lilstewart, is it okay if I look into your widget and try to get it to correctly handle the "time-zone" issue? I'm pretty sure there's a way via Date.UTC()
Yes, it is ok, dejo.

(I am posting for Stewart while he's gone)
 
wmmk said:
Yes, it is ok, dejo.

(I am posting for Stewart while he's gone)

Stewart, in your wwdccountdown.html, just change the one-line in your apple-initValues div to be:

Code:
<div id="apple-init-countdownTarget">Mon Aug 07 2006 10:00:00 GMT-0700</div>

You'll only need one version of the widget now and it will (or should; fingers crossed) handle everybody's local time. Enjoy!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.