mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +01:00
We know that it's since the full hour
This commit is contained in:
parent
8a9dc32bad
commit
8df225601b
@ -26,7 +26,7 @@ const FeatureEnvironmentMetrics = ({
|
||||
let hour = '';
|
||||
if (metric?.timestamp) {
|
||||
const metricTime = parseISO(metric.timestamp);
|
||||
hour = `since ${metricTime.getHours()}:${metricTime.getMinutes()}`;
|
||||
hour = `since ${metricTime.getHours()}:00`;
|
||||
}
|
||||
|
||||
const calculatePercentage = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user