News for hackers. Stuff that matters.
Re:Remember that Lifehacker post about Seinfeld's productivi... by bootload on Friday August 24, 2007 @05:30AM (#46122)
"... The big PIA is time-syncing in with where you are at the moment ..."

Though I was thinking this fails if your machine has the wrong time.

"... It should now pick up your timezone via js ..."

and you can use this to check against user preferences in TZ. I'll be checking the src how you do this. Difficult to find out how?

Re:Remember that Lifehacker post about Seinfeld's productivi... by brett on Friday August 24, 2007 @12:51PM (#46254)
JSTZ_OFFSET gets set by the backend from the session:

 var offset = new Date().getTimezoneOffset() / 60
 if(offset != parseInt(JSTZ_OFFSET)){
   new Ajax.Request("/jstz/" + offset);
 }


Re:Remember that Lifehacker post about Seinfeld's productivi... by bootload on Friday August 24, 2007 @06:39PM (#46419)
thanks for the code sample. didn't know JS had a date object. then again there are lot of things I don't know ...