seanjensengrey / jsgantt

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

end of bar in wrong month/quater #100

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
JSGantt Version: 1.2
Browser: Firefox 4, 5, Chrome, 
OS: Windows 2k3 

What steps will reproduce the problem?

i want to use jsgantt to create a nice overview over several projects.
sometimes these projects take realy long time 1500 days or so.   
i do not know if that is the reason for the issue i encountered. 

1. Add a task with a very long duration 
2. switched to month or quater view

What is the expected output? What do you see instead?
i expected the end of the bar to be in the correct month/quater.
day and week view work fine.

http://screencast.com/t/iof7vnG4wDL
http://screencast.com/t/FdRhaIzC

Please provide any additional information below.

Original issue reported on code.google.com by kei...@gmail.com on 27 Jun 2011 at 10:20

GoogleCodeExporter commented 9 years ago
This is caused by jsgantt assuming that each month is 30 days long and each 
quarter is 90 days long so you lose 5 days a year.  Unfortunately there is no 
simple way to fix this as it will require large changes.

Original comment by jsgantt.improved on 13 Dec 2014 at 7:47