We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d45b5a commit c4adcf7Copy full SHA for c4adcf7
wrongsecrets-balancer/ui/src/pages/AdminPage.js
@@ -11,7 +11,7 @@ function selectUnit(date) {
11
const diffInMs = now.getTime() - date.getTime();
12
const diffInSeconds = diffInMs / 1000;
13
const absDiffInSeconds = Math.abs(diffInSeconds);
14
-
+
15
// For FormattedRelativeTime: negative values = past, positive values = future
16
if (absDiffInSeconds < 60) {
17
return { value: -Math.round(diffInSeconds), unit: 'second' };
0 commit comments