From 6c9e113f1c9548264b3ad5355d53d9ef86903af7 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Sun, 24 Feb 2019 09:55:48 +0000 Subject: [PATCH] 57_Calendar.pm: add quirk for Google compatibility (interims) git-svn-id: https://svn.fhem.de/fhem/trunk@18709 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/57_Calendar.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/57_Calendar.pm b/fhem/FHEM/57_Calendar.pm index 619401dd4..a2535d902 100644 --- a/fhem/FHEM/57_Calendar.pm +++ b/fhem/FHEM/57_Calendar.pm @@ -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;