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

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Sep 11 13:09:29 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10531 
====================================================================== 
Reported By:                junky
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10531
Category:                   Core-General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
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:              09-11-2007 13:09 CDT
====================================================================== 
Summary:                    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.


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

---------------------------------------------------------------------- 
 mvanbaak - 09-11-07 13:09  
---------------------------------------------------------------------- 
Tried without and with patch on my 1.4 svn systems.
They all tell me 11:23 pm.

Debian etch 4.0 with all updates
asterisk:~# uname -an
Linux asterisk.vanbaak.info 2.6.18-4-xen-686
http://bugs.digium.com/view.php?id=1 SMP Thu May 10 03:24:35
UTC 2007 i686 GNU/Linux
asterisk:~# date
Tue Sep 11 20:26:46 CEST 2007
asterisk:~# tzconfig 
Your current time zone is set to Europe/Amsterdam
Do you want to change that? [n]: n
Your time zone will not be changed
asterisk:~# 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-11-07 13:09  mvanbaak       Note Added: 0070342                          
======================================================================




More information about the asterisk-bugs mailing list