[Home]

Summary:ASTERISK-00399: SayUnixTime() reports 12am as 12pm
Reporter:Ryan Tucker (rtucker)Labels:
Date Opened:2003-10-19 00:05:35Date Closed:2011-06-07 14:10:05
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Greetings...

I noticed that SayUnixTime() seems to report PM instead of AM for the midnight hour.  It reports PM for noon just fine, but midnight is a little off.

I haven't seen this fixed in recent CVS's, nor have I seen any other reports of it, so here's the bug report ;-)

****** ADDITIONAL INFORMATION ******

[rtucker@voip2 rtucker]$ date
Sun Oct 19 00:59:20 EDT 2003
[rtucker@voip2 rtucker]$ fg
sudo /usr/sbin/asterisk -r


   -- Executing Answer("Zap/18-1", "") in new stack
   -- Accepting call from '585242****' to '5854199898' on channel 18, span 1
   -- Executing NoOp("Zap/18-1", "") in new stack
   -- Executing SetMusicOnHold("Zap/18-1", "bumper") in new stack
   -- Executing WaitMusicOnHold("Zap/18-1", "2") in new stack
   -- Started music on hold, class 'bumper', on Zap/18-1
   -- Stopped music on hold on Zap/18-1
   -- Executing SayUnixTime("Zap/18-1", "||"'digits/at' IMp"") in new stack
   -- Playing '/var/lib/asterisk/sounds/digits/at'
   -- Playing '/var/lib/asterisk/sounds/digits/12'
   -- Playing '/var/lib/asterisk/sounds/digits/50'
   -- Playing '/var/lib/asterisk/sounds/digits/9'
   -- Playing '/var/lib/asterisk/sounds/digits/p-m'
Comments:By: John Todd (jtodd) 2003-10-19 13:27:13

Good news!  This has been found already and patched, and is awaiting inclusion into CVS.

http://bugs.digium.com/bug_view_page.php?bug_id=0000395