File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ function humanRelativeDate(isoDateStr) {
31
31
let delta ;
32
32
if ( deltaMins < 60 ) {
33
33
unit = "minute" ;
34
- delta = deltaMins
34
+ delta = Math . floor ( deltaMins ) ;
35
35
} else if ( deltaMins < 60 * 24 ) {
36
36
unit = "hour" ;
37
37
delta = Math . floor ( deltaMins / 60 ) ;
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ function humanRelativeDate(isoDateStr) {
29
29
let delta ;
30
30
if ( deltaMins < 60 ) {
31
31
unit = "minute" ;
32
- delta = deltaMins
32
+ delta = Math . floor ( deltaMins ) ;
33
33
} else if ( deltaMins < 60 * 24 ) {
34
34
unit = "hour" ;
35
35
delta = Math . floor ( deltaMins / 60 ) ;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ function humanRelativeDate(isoDateStr) {
27
27
let delta ;
28
28
if ( deltaMins < 60 ) {
29
29
unit = "minute" ;
30
- delta = deltaMins
30
+ delta = Math . floor ( deltaMins ) ;
31
31
} else if ( deltaMins < 60 * 24 ) {
32
32
unit = "hour" ;
33
33
delta = Math . floor ( deltaMins / 60 ) ;
You can’t perform that action at this time.
0 commit comments