From aefd078ebf0d206138343b5d1a6a0ea8298a5e9f Mon Sep 17 00:00:00 2001 From: nemunaire Date: Sun, 28 Feb 2016 06:06:30 +0100 Subject: [PATCH] Avoid singular form of 'minutes' word --- frontend/static/js/public.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/static/js/public.js b/frontend/static/js/public.js index 9261fddd..3c1b6245 100644 --- a/frontend/static/js/public.js +++ b/frontend/static/js/public.js @@ -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";