Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
dejo said:
How 'bout having one widget with a preference on the backside to adjust for timezone (dropdown of offset from GMT perhaps)?
I'll give it a try. :)
 
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....??? :confused:
 
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....??? :confused:

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.
 
D3LM3L said:
Could you please make it in UK/GMT time? I'm gonna be there during WWDC. Thanks!
!

Your going to be there during WWDC! Lucky.

Sure. Comin' right up. :D

Here you go... Here.
 
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. :( :eek:

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. :( :eek:

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 :p
 
lilstewart said:
Trust me, I've tried and I just don't know how. :( :eek:

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!
 
Monkaaay said:
I'd love to have the source to that!

Right-/control-click on the widget. Select "show package contents." There are your source files.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.