diff --git a/frontend/static/js/app.js b/frontend/static/js/app.js
index a1561558..543fb1f3 100644
--- a/frontend/static/js/app.js
+++ b/frontend/static/js/app.js
@@ -91,11 +91,6 @@ angular.module("FICApp")
}
}
})
- .filter("date", function() {
- return function(input) {
- return (new Date(Date.parse(input))).toLocaleTimeString();
- }
- })
.controller("DataController", function($scope, $http, $rootScope, $timeout) {
var actMenu = function() {
if ($scope.my && $scope.themes) {
diff --git a/frontend/static/views/theme.html b/frontend/static/views/theme.html
index 76c2c4db..ba17e4d2 100644
--- a/frontend/static/views/theme.html
+++ b/frontend/static/views/theme.html
@@ -44,7 +44,7 @@
Soumettre une solution
- - {{ my.exercices[current_exercice].solved_number }} tentative(s) effectuée(s). Dernière solution envoyée à {{ my.exercices[current_exercice].solved_time | date }}.
+ - {{ my.exercices[current_exercice].solved_number }} tentative(s) effectuée(s). Dernière solution envoyée à {{ my.exercices[current_exercice].solved_time | date:"fullDate" }}.
- Votre solution a bien été envoyée !{{ sberr }} {{ message }}
@@ -65,7 +65,7 @@
Challenge réussi !
- Vous êtes la {{ my.exercices[current_exercice].solved_number }}e équipe à avoir résolu ce challenge à {{ my.exercices[current_exercice].solved_time | date }}. Vous avez marqué {{ themes[current_theme].exercices[current_exercice].gain }} points !
+ Vous êtes la {{ my.exercices[current_exercice].solved_number }}e équipe à avoir résolu ce challenge à {{ my.exercices[current_exercice].solved_time | date:"fullDate" }}. Vous avez marqué {{ themes[current_theme].exercices[current_exercice].gain }} points !