Skip to content

Commit 963fc13

Browse files
authored
relative_time: increase thresholds (#27870)
* increase thresholds * restored for days & hours
1 parent ff61491 commit 963fc13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/util/select-unit.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ type Thresholds = Record<
119119
>;
120120

121121
export const DEFAULT_THRESHOLDS: Thresholds = {
122-
second: 45, // seconds to minute
123-
minute: 45, // minutes to hour
122+
second: 59, // seconds to minute
123+
minute: 59, // minutes to hour
124124
hour: 22, // hour to day
125125
day: 5, // day to week
126126
week: 4, // week to months

0 commit comments

Comments
 (0)