git-svn-id: https://svn.fhem.de/fhem/trunk@12378 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -606,9 +606,9 @@ FileLog_Get($@)
|
|||||||
$linf = $hash->{logfile};
|
$linf = $hash->{logfile};
|
||||||
my ($Y,$m,$d) = ($1,$2,$3);
|
my ($Y,$m,$d) = ($1,$2,$3);
|
||||||
sub expandFileWildcards($$$$) {
|
sub expandFileWildcards($$$$) {
|
||||||
my $f=shift;
|
my ($f,$Y,$m,$d)=@_;
|
||||||
my ($Y,$m,$d)=@_;
|
return ResolveDateWildcards($f,
|
||||||
return ResolveDateWildcards($f,localtime(time_str2num("$Y-$m-$d")));
|
localtime(time_str2num("$Y-$m-$d 00:00:00")));
|
||||||
};
|
};
|
||||||
$linf=expandFileWildcards($linf,$Y,$m,$d);
|
$linf=expandFileWildcards($linf,$Y,$m,$d);
|
||||||
if(AttrVal($name, "createGluedFile", 0)) {
|
if(AttrVal($name, "createGluedFile", 0)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user