WebIce / jsgantt

Automatically exported from code.google.com/p/jsgantt
0 stars 0 forks source link

Daylight Savings and Hours Mode #64

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
JSGantt Version:
Browser: IE6
OS: WinXP

What steps will reproduce the problem?
1. Create a chart which covers a daylight saving change
2. Run it in Hours Mode
3. Hang

What is the expected output? What do you see instead?
Not to hang...

Please provide any additional information below.
The code:
vTmpDate.setHours(vTmpDate.getHours() 
+ 1);

A fix:
vTmpDate.setTime(vTmpDate.getTime() + 3600000);

Original issue reported on code.google.com by therevil...@gmail.com on 16 Nov 2009 at 9:06