mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Fix the latest column of the status graph
The convertion from info to time was not necessary, as the value is already a time. It was clearing the TIME_NEW bit, not showing corretly the latest column in the graph.
This commit is contained in:
parent
cba363e898
commit
810db857cc
1 changed files with 3 additions and 3 deletions
|
|
@ -364,9 +364,9 @@ int state_status(struct snapraid_state* state)
|
|||
i = j;
|
||||
}
|
||||
|
||||
oldest = info_get_time(timemap[0]);
|
||||
median = info_get_time(timemap[count / 2]);
|
||||
newest = info_get_time(timemap[count - 1]);
|
||||
oldest = timemap[0];
|
||||
median = timemap[count / 2];
|
||||
newest = timemap[count - 1];
|
||||
dayoldest = day_ago(oldest, now);
|
||||
daymedian = day_ago(median, now);
|
||||
daynewest = day_ago(newest, now);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue