
Zetajazz44
New member
My computer is synchronized to a network time server and displays the right time....
The error is pretty much precisely off by the difference between GMT and EDT. If the cutoff 12 A.M. GMT, then the counter would be off by just a couple of minutes.
Ah. Found it. This appears to be a Safari-specific date parsing issue. The time zone you specified is probably not technically valid, so I'm a little surprised it works anywhere, but apparently IE and FireFox are... insanely forgiving.... *sigh*
If I specify the TargetDate value as either its actual zone name (EDT) or in the standard ARPA format (GMT-0400), it gives the correct result in Safari, too. I've added notes on this issue to WebKit bug #14176.
Also, technically Date() doesn't take an argument at all according to w3schools. Technically you should be using Date.parse(string). I'm guessing Safari implements this as some backwards-compatibility hack for an IE extension or something. Dunno. Not that this would make any difference in this case, AFAIK, just something you should probably tweak at some point.
dgatwood, what I'm about to say, isn't towards you, but rather, just a friendly chat with someone, whom by the "tech stuff" in your posts, you'll know what I'm talking about and where I'm coming from with all my rants

Yeah, one day I might look into it further, but... It's javascript...and with everybody and his brother coming out with their own browsers and supporting different technologies, trying to be different..etc., I would never 'depend' on javascript to do "real work", meaning something like: remove the text deadline and solely depend on the countdown clock to inform everyone of the registration deadline... NOW, if this were running off a server-side script, ASP.NET with C# behind code, I'd have no problem with that whatsoever...but not using client-side script...never. Biggest reason: You can't depend on everyone to operate their computers correctly...in fact, some people aren't even qualified to own one. Some people would have JavaScript disabled, and complain about not being able to view the JAVASCRIPT countdown clock!

Man, I've got people emailing and sending me PM's, complaining, about the SIZE of some of the fonts I've used, the font type/family I'm using, the blue/white color/contrast hurts their eyes...want me to stop using pop-up windows because they don't want to allow an exeption in their popup blocker for that one site; User Console...There's the complaints of the pages having scrollbars at the bottom and they have to scroll side to side to see the entire page...All the while they have their resolution set to 640 x 480 @ 256 colors... One guy was mad, at me nonetheless, that he held down the [Ctrl] key, while scrolling his mouse wheel and he zoomed in on the page to at least 400% and now MY text and input boxes were rediculously LARGE...and said to me: "You need to stop testing your web work on one browser only. Why did you do that?" Then you have over 500 people that have sucessfully registered, and are managing their products through the User Console, successfully, but one "stragler" comes along, the would be 553rd person to register so far, and "can't get the darn thing to work..." and everytime, it will be the site/code/page's fault... All of those other 552 that successfully made it work, were just lucky... The list goes on and on...
Currently I test the User Console in the latest versions of IE, Firefox and Safari, all on a PC...at 800X600, I don't have a MAC, never owned one...(if someone wants to send me one, I'll test on it too...what time I'm not recording on it!

These are a lot of the reasons for the past 10 years I've chose to do all of my development on intranets for large corporations, who have chosen to go browser based instead of stand-alone desktop applications, NOT the internet. At least you know who is connected to the intranet, what platform/browser combination they're using, and who is and who is not "qualified" to operate a computer...so you know what to expect and most of it you can control. You can please some of the people some of the time, but never all of the people all of the time...or at least some of the time in most cases.
Whew... I feel better!

Randy