summaryrefslogtreecommitdiffstats
path: root/template.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-03-09 09:15:14 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-03-09 09:15:14 +0100
commitde7726cbf0957384cc9261ac47d6bf65906739b5 (patch)
tree1d3dd581d5c2382c01d3bf39130b368ae0cc64e2 /template.c
parenta27c67a590a4a6186ac79326fa3abe4b95ab10fc (diff)
parentd97ad63e218112d7cd3a390854b2918407804976 (diff)
downloadrsyslog-de7726cbf0957384cc9261ac47d6bf65906739b5.tar.gz
rsyslog-de7726cbf0957384cc9261ac47d6bf65906739b5.tar.xz
rsyslog-de7726cbf0957384cc9261ac47d6bf65906739b5.zip
Merge branch 'v4-stable' into v5-stable
Conflicts: ChangeLog runtime/datetime.h
Diffstat (limited to 'template.c')
-rw-r--r--template.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/template.c b/template.c
index d74da475..050905b0 100644
--- a/template.c
+++ b/template.c
@@ -487,6 +487,8 @@ static void doOptions(unsigned char **pp, struct templateEntry *pTpe)
pTpe->data.field.eDateFormat = tplFmtPgSQLDate;
} else if(!strcmp((char*)Buf, "date-rfc3164")) {
pTpe->data.field.eDateFormat = tplFmtRFC3164Date;
+ } else if(!strcmp((char*)Buf, "date-rfc3164-buggyday")) {
+ pTpe->data.field.eDateFormat = tplFmtRFC3164BuggyDate;
} else if(!strcmp((char*)Buf, "date-rfc3339")) {
pTpe->data.field.eDateFormat = tplFmtRFC3339Date;
} else if(!strcmp((char*)Buf, "date-subseconds")) {