From: Mark Spencer Date: Sat, 9 Aug 2003 23:45:36 +0000 (+0000) Subject: Small fix X-Git-Tag: 0.5.0~213 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=385647af43c5fcaedd2b87e265d0dba597b32aab;p=thirdparty%2Fasterisk.git Small fix git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1283 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail2.c b/apps/app_voicemail2.c index 54c9e2de14..4223504bdb 100755 --- a/apps/app_voicemail2.c +++ b/apps/app_voicemail2.c @@ -2084,7 +2084,7 @@ static int play_datetime_format(struct ast_channel *chan, time_t time, struct vm case 'P': case 'p': /* AM/PM */ - if ((tm.tm_hour == 0) || (tm.tm_hour > 12)) + if ((tm.tm_hour == 0) || (tm.tm_hour > 11)) snprintf(nextmsg,sizeof(nextmsg), DIGITS_DIR "p-m"); else snprintf(nextmsg,sizeof(nextmsg), DIGITS_DIR "a-m");