mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 13:24:56 +00:00
57_Calendar.pm: add quirk for Google compatibility (interims)
git-svn-id: https://svn.fhem.de/fhem/trunk@18709 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d454371fb9
commit
6c9e113f1c
@ -2484,8 +2484,11 @@ sub Calendar_GetUpdate($$$;$) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
my @ti = localtime;
|
my $url = $hash->{".fhem"}{url};
|
||||||
my $url= ResolveDateWildcards($hash->{".fhem"}{url}, @ti);
|
unless (AttrVal($name,'quirks','') =~ /noWildcards/) {
|
||||||
|
my @ti = localtime;
|
||||||
|
$url = ResolveDateWildcards($hash->{".fhem"}{url}, @ti);
|
||||||
|
}
|
||||||
|
|
||||||
if($url ne $hash->{".fhem"}{lasturl}) {
|
if($url ne $hash->{".fhem"}{lasturl}) {
|
||||||
$hash->{".fhem"}{lasturl} = $url;
|
$hash->{".fhem"}{lasturl} = $url;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user