[asterisk-bugs] [Asterisk 0010531]: [branch] bug in time-zone with daylight saving time

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Oct 27 12:16:22 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10531 
====================================================================== 
Reported By:                junky
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   10531
Category:                   Core-General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 80183 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-22-2007 14:09 CDT
Last Modified:              10-27-2007 12:16 CDT
====================================================================== 
Summary:                    [branch] bug in time-zone with daylight saving time
Description: 
apparently, the epoch returned by STRPTIME isnt correct.
Here's a discussion with corydon on IRC.

Even if we specify the tz, the epoch returned isnt correct.

this is due to DST (daylight saving time) in north america.


====================================================================== 

---------------------------------------------------------------------- 
 DEA - 10-27-07 12:16  
---------------------------------------------------------------------- 
Having the correct tzinfo/tzdata package is part of the
solution.  The second part is to have /etc/localtime
point to the correct zone definition.

So installs seem to like to copy the zone file to
/etc/localtime.  I prefer to symlink /etc/localtime
to the correct zone file 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-27-07 12:16  DEA            Note Added: 0072595                          
======================================================================




More information about the asterisk-bugs mailing list