Avoid singular form of 'minutes' word
This commit is contained in:
parent
ee67788d59
commit
aefd078ebf
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ angular.module("FICApp")
|
|||
})
|
||||
.filter("since", function() {
|
||||
return function(passed) {
|
||||
if (passed < 60000) {
|
||||
if (passed < 120000) {
|
||||
return "Il y a " + Math.floor(passed/1000) + " secondes";
|
||||
} else {
|
||||
return "Il y a " + Math.floor(passed/60000) + " minutes";
|
||||
|
|
Reference in a new issue