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

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Aug 22 14:41:33 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:              08-22-2007 14:41 CDT
====================================================================== 
Summary:                    bug in time-zone with daylight saving time (canada)
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.

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

---------------------------------------------------------------------- 
 junky - 08-22-07 14:41  
---------------------------------------------------------------------- 
-- Executing [75 at from-sip:2] NoOp("SIP/10-b6602948", "orig=2007-08-22
19:23:59") in new stack
    -- Executing [75 at from-sip:3] Set("SIP/10-b6602948",
"user_expiration=1187828639") in new stack
    -- Executing [75 at from-sip:4] SayUnixTime("SIP/10-b6602948",
"1187828639|America/Montreal") in new stack
[Aug 22 15:54:39] DEBUG[31020]: say.c:2996 ast_say_date_with_format_en:
Parsing A (offset 0) in ABdY 'digits/at' IMp
    -- <SIP/10-b6602948> Playing 'digits/day-3' (language 'en')
[Aug 22 15:54:39] DEBUG[31020]: sched.c:204 sched_settime: Request to
schedule in the past?!?!
[Aug 22 15:54:39] DEBUG[31020]: sched.c:204 sched_settime: Request to
schedule in the past?!?!
[Aug 22 15:54:40] DEBUG[31020]: say.c:2996 ast_say_date_with_format_en:
Parsing B (offset 1) in ABdY 'digits/at' IMp
    -- <SIP/10-b6602948> Playing 'digits/mon-7' (language 'en')
[Aug 22 15:54:41] DEBUG[31020]: say.c:2996 ast_say_date_with_format_en:
Parsing d (offset 2) in ABdY 'digits/at' IMp
    -- <SIP/10-b6602948> Playing 'digits/20' (language 'en')
    -- <SIP/10-b6602948> Playing 'digits/h-2' (language 'en')
[Aug 22 15:54:42] DEBUG[31020]: say.c:2996 ast_say_date_with_format_en:
Parsing Y (offset 3) in ABdY 'digits/at' IMp
    -- <SIP/10-b6602948> Playing 'digits/2' (language 'en')
    -- <SIP/10-b6602948> Playing 'digits/thousand' (language 'en')
    -- <SIP/10-b6602948> Playing 'digits/7' (language 'en')
[Aug 22 15:54:44] DEBUG[31020]: say.c:2996 ast_say_date_with_format_en:
Parsing   (offset 4) in ABdY 'digits/at' IMp
[Aug 22 15:54:44] DEBUG[31020]: say.c:2996 ast_say_date_with_format_en:
Parsing ' (offset 5) in ABdY 'digits/at' IMp
    -- <SIP/10-b6602948> Playing 'digits/at' (language 'en')
[Aug 22 15:54:45] DEBUG[31020]: say.c:2996 ast_say_date_with_format_en:
Parsing   (offset 16) in ABdY 'digits/at' IMp
[Aug 22 15:54:45] DEBUG[31020]: say.c:2996 ast_say_date_with_format_en:
Parsing I (offset 17) in ABdY 'digits/at' IMp
    -- <SIP/10-b6602948> Playing 'digits/8' (language 'en')
[Aug 22 15:54:46] DEBUG[31020]: say.c:2996 ast_say_date_with_format_en:
Parsing M (offset 18) in ABdY 'digits/at' IMp
    -- <SIP/10-b6602948> Playing 'digits/20' (language 'en')
    -- <SIP/10-b6602948> Playing 'digits/3' (language 'en')
[Aug 22 15:54:47] DEBUG[31020]: say.c:2996 ast_say_date_with_format_en:
Parsing p (offset 19) in ABdY 'digits/at' IMp
    -- <SIP/10-b6602948> Playing 'digits/p-m' (language 'en') 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-22-07 14:41  junky          Note Added: 0069267                          
======================================================================




More information about the asterisk-bugs mailing list