[asterisk-commits] trunk r37396 - /trunk/say.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Jul 11 16:27:52 MST 2006


Author: kpfleming
Date: Tue Jul 11 18:27:51 2006
New Revision: 37396

URL: http://svn.digium.com/view/asterisk?rev=37396&view=rev
Log:
say times in spanish properly (using new sound files that are not yet released)

Modified:
    trunk/say.c

Modified: trunk/say.c
URL: http://svn.digium.com/view/asterisk/trunk/say.c?rev=37396&r1=37395&r2=37396&view=diff
==============================================================================
--- trunk/say.c (original)
+++ trunk/say.c Tue Jul 11 18:27:51 2006
@@ -3876,9 +3876,11 @@
 			case 'P':
 			case 'p':
 				/* AM/PM */
-				if (tm.tm_hour > 12)
+				if (tm.tm_hour > 18)
 					res = wait_file(chan, ints, "digits/p-m", lang);
-				else if (tm.tm_hour  && tm.tm_hour < 12)
+				else if (tm.tm_hour > 12)
+					res = wait_file(chan, ints, "digits/afternoon", lang);
+				else if (tm.tm_hour)
 					res = wait_file(chan, ints, "digits/a-m", lang);
 				break;
 			case 'Q':



More information about the asterisk-commits mailing list