[Vtigercrm-commits] [vtiger development] #5384: JavaScript Calendars are buggy

vtiger development vtiger-tickets at trac.vtiger.com
Mon Oct 20 10:47:36 EDT 2008


#5384: JavaScript Calendars are buggy
-----------------------+----------------------------------------------------
 Reporter:  elmue.gmx  |       Owner:  developer
     Type:  defect     |      Status:  new      
 Priority:  minor      |   Milestone:  5.1.0    
Component:  vtigercrm  |     Version:  5.0.4    
 Keywords:  Calendar   |  
-----------------------+----------------------------------------------------
 Hello

 There are two JavaScript Calendars in use.
 Both are buggy.
 Both show wrong week numbers.

 Additionally one of them shows the week 41 twice and shows mondays in read
 instead of saturdays.
 The reason will surely be, that the calendar internally calculates with
 datetimes of 0:00 o'clock. This is a fatal error, because the day were
 standard time becomes daylight saving time a day is skipped. Calendars
 should internally calculate with 12:00 to avoid this problem.
 In my timezone at 12 of october the summertime begins. You see this in the
 screenshot.

 The other calendar calculates week one wrong:
 The international rule for calculating week numbers is this:
 Week one is the first week in the year which has at least 4 days.
 So if the 1st of january is a friday this is NOT week one because friday,
 saturday, sunday are not 4 days.

 Elmü

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5384>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list