chore: fix metrics profile
This commit is contained in:
parent
1dd5ce896a
commit
4c01e35eba
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ func Profile() (*[96]float64, error) {
|
|||
rows, err := db.Query(`SELECT min(ts) AS ts, avg(val) AS val
|
||||
FROM meters
|
||||
WHERE meter = ?
|
||||
GROUP BY strftime("HH:MM", ts)
|
||||
GROUP BY strftime("%H:%M", ts)
|
||||
ORDER BY ts`, 1)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue