summaryrefslogtreecommitdiff
path: root/apps/app_sayunixtime.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-05-25 17:28:32 +0000
committerMark Spencer <markster@digium.com>2005-05-25 17:28:32 +0000
commit9d9ec72719ca3761161329ed26a81c58b22237b8 (patch)
tree0e5c7dd13faf6a3c7657294a5b51f33104eed7d6 /apps/app_sayunixtime.c
parent41e7cc8154f86478f342423de8f6e28631a62111 (diff)
Fix sayunixtime for Danish (bug #3239)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_sayunixtime.c')
-rwxr-xr-xapps/app_sayunixtime.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/app_sayunixtime.c b/apps/app_sayunixtime.c
index cc2b28c18..05b08597f 100755
--- a/apps/app_sayunixtime.c
+++ b/apps/app_sayunixtime.c
@@ -67,7 +67,9 @@ static int sayunixtime_exec(struct ast_channel *chan, void *data)
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";