I'm guessing setAttribute and/or timezoneJS.Date constructor needs some work. The following merely adds 1 day to a timezone-aware date, but the hours get messed up in the process.
var dt = new timezoneJS.Date();
dt.setTimezone('America/New_York');
x = dt.hours;
dt.setDate(dt.getDate() + 1);
y = dt.hours;
alert(x===y);
Is this related to the other issue I added regarding tzInfo not being copied to cloned dates?
I'm guessing
setAttribute
and/or timezoneJS.Date constructor needs some work. The following merely adds 1 day to a timezone-aware date, but the hours get messed up in the process.Is this related to the other issue I added regarding tzInfo not being copied to cloned dates?