From a0d26c0973e711355b3b345a871aa6f835dd80a0 Mon Sep 17 00:00:00 2001
From: rudolfkoenig <>
Date: Tue, 21 Feb 2012 20:20:23 +0000
Subject: [PATCH] strftime introduced to ResolveDateWildcards
git-svn-id: https://svn.fhem.de/fhem/trunk@1278 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/docs/commandref.html | 20 +++++++++++++++-----
fhem/fhem.pl | 18 ++++--------------
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/fhem/docs/commandref.html b/fhem/docs/commandref.html
index 79b1def12..a18ff92ce 100644
--- a/fhem/docs/commandref.html
+++ b/fhem/docs/commandref.html
@@ -8175,8 +8175,9 @@ href="http://www.elv.de/output/controller.aspx?cid=74&detail=10&detail2=29870">U
The regexp will be checked against the (complete!) device name
or against the (complete!) devicename:event combination.
- <filename>
may contain one or more of the following
- wildcards (a subset of the Unix date command arguments):
+ <filename>
may contain %-wildcards of the
+ POSIX strftime function of the underlying OS (see your strftime manual).
+ Common used wildcards are:
%d
day of month (01..31)%m
month (01..12)%w
day of week (0..6); 0 represents Sunday
%j
day of year (001..366)
%U
week number of year with Sunday as first day of week (00..53)
- %V
week number of year with Monday as first day of week (01..53)
+ %W
week number of year with Monday as first day of week (00..53)
%L
by the value of the global logdir attribute.%V
for ISO 8601 week numbers check if it is
+ correctly supported by your system (%V may not be replaced, replaced by an
+ empty string or by an incorrect ISO-8601 week number, especially
+ at the beginning of the year)
+ If you use %V
you will also have to use %G
+ instead of %Y for the year!define lamplog FileLog /var/tmp/lamp.log lamp
define lamplog FileLog %L/lamp.log lamp
define wzlog FileLog /var/tmp/wz-%Y-%U.log
wz:(measured-temp|actuator).*
define wzlog FileLog /var/tmp/wz-%G-%V.log
+ wz:(measured-temp|actuator).*