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:
@@ -2484,8 +2484,11 @@ sub Calendar_GetUpdate($$$;$) {
|
||||
return;
|
||||
}
|
||||
|
||||
my @ti = localtime;
|
||||
my $url= ResolveDateWildcards($hash->{".fhem"}{url}, @ti);
|
||||
my $url = $hash->{".fhem"}{url};
|
||||
unless (AttrVal($name,'quirks','') =~ /noWildcards/) {
|
||||
my @ti = localtime;
|
||||
$url = ResolveDateWildcards($hash->{".fhem"}{url}, @ti);
|
||||
}
|
||||
|
||||
if($url ne $hash->{".fhem"}{lasturl}) {
|
||||
$hash->{".fhem"}{lasturl} = $url;
|
||||
|
||||
Reference in New Issue
Block a user