Fix sayunixtime for Danish (bug #3239)
authorMark Spencer <markster@digium.com>
Wed, 25 May 2005 17:28:32 +0000 (17:28 +0000)
committerMark Spencer <markster@digium.com>
Wed, 25 May 2005 17:28:32 +0000 (17:28 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5766 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_sayunixtime.c

index cc2b28c..05b0859 100755 (executable)
@@ -67,7 +67,9 @@ static int sayunixtime_exec(struct ast_channel *chan, void *data)
        gettimeofday(&tv,NULL);
        unixtime = (time_t)tv.tv_sec;
 
        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";
                format = "A dBY HMS";
        } else {
                format = "ABdY 'digits/at' IMp";