mirror of https://github.com/gorhill/uBlock.git
code review
This commit is contained in:
parent
f362dff643
commit
cad5a6cbf6
|
@ -63,7 +63,7 @@ vAPI.i18n.renderElapsedTimeToString = function(tstamp) {
|
||||||
if ( value < 2 ) {
|
if ( value < 2 ) {
|
||||||
return vAPI.i18n('elapsedOneHourAgo');
|
return vAPI.i18n('elapsedOneHourAgo');
|
||||||
}
|
}
|
||||||
if ( value < (24 * 60) ) {
|
if ( value < 24 ) {
|
||||||
return vAPI.i18n('elapsedManyHoursAgo').replace('{{value}}', Math.floor(value).toLocaleString());
|
return vAPI.i18n('elapsedManyHoursAgo').replace('{{value}}', Math.floor(value).toLocaleString());
|
||||||
}
|
}
|
||||||
value /= 24;
|
value /= 24;
|
||||||
|
|
Loading…
Reference in New Issue