mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 10:46:53 +00:00
DbLog: fixedrange=hour works now correctly
git-svn-id: https://svn.fhem.de/fhem/trunk@5348 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d89b82cf33
commit
4c6a25f5b4
@ -1,6 +1,7 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- SVN
|
||||
- bugfix: DbLog: fixedrange=hour works now correctly
|
||||
- bugfix: Dashboard: dashboard_showfullsize not applied in room "all"
|
||||
- feature: new module 98_PID20.pm added (John / betateilchen)
|
||||
- feature: new module 00_RPII2C.pm, 52_I2C_PCA9532.pm, 52_I2C_PCF8574.pm,
|
||||
|
@ -824,7 +824,7 @@ DbLog_Get($@)
|
||||
$stm .= "AND READING = '".$readings[$i]->[1]."' " if ($readings[$i]->[1] !~ m(\%));
|
||||
$stm .= "AND READING LIKE '".$readings[$i]->[1]."' " if(($readings[$i]->[1] !~ m(^%$)) && ($readings[$i]->[1] =~ m(\%)));
|
||||
|
||||
$stm .= "AND TIMESTAMP > $sqlspec{from_timestamp}
|
||||
$stm .= "AND TIMESTAMP >= $sqlspec{from_timestamp}
|
||||
AND TIMESTAMP < $sqlspec{to_timestamp}
|
||||
ORDER BY TIMESTAMP";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user