Thanks brett, checked it, works.
"... I kept thinking that I should disable being able to toggle days after today because it did not provide any utility ..."
so I shouldn't have been able to click the days after today? Oh also found another PIA which is going to require a bit of a login detail. I'm Aus and close to the date line. Today, now is 2007AUG241154 meaning I'm working yesterday.
Any chance of making the default time format GMT, UTC ? Should allow everyone to be on the same page OR you'll have to (probably have to anyway) modify users time by selecting location then adjusting the date-time to the user location.
No, I did not get to that. I just fixed it so that if all the days you've clicked are after today (PST) then it does not try to calculate the streak of days between today and the beginning of time.
And yeah, I was just lazy to not include timezones. I should fix that.
Either do I but it would be just as easy to add a login, select timezone & store that, but then if you take a plane from foo to bar and your zones change you have to change it again.
This is a good idea btw. And I have looked at calendar apps in the past. 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?
var offset = new Date().getTimezoneOffset() / 60
if(offset != parseInt(JSTZ_OFFSET)){
new Ajax.Request("/jstz/" + offset);
}
I kept thinking that I should disable being able to toggle days after today because it did not provide any utility. It could have helped out in this case.