2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00

SVG: qday added to fixedrange

git-svn-id: https://svn.fhem.de/fhem/trunk@5019 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-02-22 18:59:08 +00:00
parent f94ae158a9
commit dabd658347

View File

@ -610,8 +610,8 @@ SVG_calcOffsets($$)
if($defs{$wl}) {
$fr = AttrVal($wl, "fixedrange", undef);
if($fr) {
if($fr =~ "^hour" || $fr =~ "^day" || $fr =~ "^week" || $fr =~ "^month" ||
$fr =~ "^year" || $fr =~ m/^\d+days$/ ) { #fixedrange with offset
if($fr =~ "^(hour|qday|day|week|month|year)" ||
$fr =~ m/^\d+days$/ ) { #fixedrange with offset
$frx=$fr; #fixedrange with offset
} else {