Improve date formatting

This commit is contained in:
Dominik Werder
2022-11-23 10:06:05 +01:00
parent dfff79329e
commit 9f97316caf
13 changed files with 247 additions and 67 deletions
+3 -3
View File
@@ -875,9 +875,9 @@ impl Api1EventsBinaryHandler {
let chans = qu
.channels()
.iter()
.map(|x| Channel {
.map(|ch| Channel {
backend: backend.into(),
name: x.clone(),
name: ch.name().into(),
series: None,
})
.collect();
@@ -888,7 +888,7 @@ impl Api1EventsBinaryHandler {
chans,
qu.disk_io_tune().clone(),
qu.decompress(),
qu.events_max(),
qu.events_max().unwrap_or(u64::MAX),
status_id.clone(),
node_config.clone(),
);