zmughal / jsgantt

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

Does the minutes schedule work #84

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output?
The scheduling for minutes should be shown

Are there any specific API changes you would like to see?
seconds support

Please provide any additional information below.
Great Job with the rest.Thanks.

Original issue reported on code.google.com by prathiba...@gmail.com on 3 Aug 2010 at 8:08

GoogleCodeExporter commented 9 years ago
Hello,

Thanks to firebug I wondered why there was no hour and minute reset for the 
right part : jsgantt_Minutes.html will apparently display better with

jsgantt.js lines 656-663
         // Minor Date header and Cell Rows

         vTmpDate.setFullYear(vMinDate.getFullYear(), vMinDate.getMonth(), vMinDate.getDate());

vTmpDate.setHours(0);

vTmpDate.setMinutes(0);

         vNxtDate.setFullYear(vMinDate.getFullYear(), vMinDate.getMonth(), vMinDate.getDate());

vNxtDate.setHours(0);

vNxtDate.setMinutes(0);

         vNumCols = 0;

instead of
         // Minor Date header and Cell Rows

         vTmpDate.setFullYear(vMinDate.getFullYear(), vMinDate.getMonth(), vMinDate.getDate());

         vNxtDate.setFullYear(vMinDate.getFullYear(), vMinDate.getMonth(), vMinDate.getDate());

         vNumCols = 0;

best regards,
jhauss

Original comment by jerome.h...@gmail.com on 22 Mar 2011 at 10:36