[Vtigercrm-commits] [vtiger development] #7595: Daylight saving time display problem in calendar

vtiger development vtiger-tickets at trac.vtiger.com
Tue Nov 13 00:59:16 PST 2012


#7595: Daylight saving time display problem in calendar
----------------------------+-----------------------------------------------
 Reporter:  nicolasgasnier  |        Owner:  nicolasgasnier
     Type:  defect          |       Status:  closed        
 Priority:  major           |    Milestone:  5.4.0         
Component:  vtigercrm       |      Version:  5.4.0         
 Severity:  Medium          |   Resolution:  fixed         
 Keywords:                  |  
----------------------------+-----------------------------------------------
Changes (by nicolasgasnier):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  Unassigned => 5.4.0

Comment:

 Fortunately, the events are processed with the correct date time handled
 with the locale. This is only a matter of hour conversion for display.

 I found out the problem is located in the timeString function in
 CalendarCommon. This function is used to convert the event time in the
 user locale and format for display purpose. But this function only uses
 the hour part of the event date, so the locale conversion will default to
 the current date to process hour conversion, wich is wrong.

 So for the correction I just added the date part to the process.

 This correction may not need a lot of regression tests, as this function
 is just used in this part of the calendar code.

 I attached the patch.

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7595#comment:1>
vtiger development <http://trac.vtiger.com/>
vtiger CRM



More information about the vtigercrm-commits mailing list