Small fix

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2003-08-09 23:45:36 +00:00
parent c82e412d32
commit 385647af43
1 changed files with 1 additions and 1 deletions

View File

@ -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");