[Asterisk-cvs] asterisk/apps app_sayunixtime.c,1.8,1.9

markster at lists.digium.com markster at lists.digium.com
Wed May 25 13:24:24 CDT 2005


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv447/apps

Modified Files:
	app_sayunixtime.c 
Log Message:
Fix sayunixtime for Danish (bug #3239)


Index: app_sayunixtime.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_sayunixtime.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- app_sayunixtime.c	21 Apr 2005 06:02:43 -0000	1.8
+++ app_sayunixtime.c	25 May 2005 17:28:32 -0000	1.9
@@ -67,7 +67,9 @@
 	gettimeofday(&tv,NULL);
 	unixtime = (time_t)tv.tv_sec;
 
-	if( !strcasecmp(chan->language, "de" ) ) {
+	if( !strcasecmp(chan->language, "da" ) ) {
+		format = "A dBY HMS";
+	} else if ( !strcasecmp(chan->language, "de" ) ) {
 		format = "A dBY HMS";
 	} else {
 		format = "ABdY 'digits/at' IMp";




More information about the svn-commits mailing list