Explorar el Código

Correct semester starting month

omassot hace 6 años
padre
commit
ed86aecc61
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      js/app.js

+ 1 - 1
js/app.js

@@ -568,7 +568,7 @@ app.controller('mainController', function($scope, $detection, $http, $mdSidenav,
       momentDate.add(nbJoursFTTH, 'days');
 
       var semester = '1er';
-      if (parseInt(momentDate.format('M'), 10) > 5) {
+      if (parseInt(momentDate.format('M'), 10) > 6) {
         semester = '2nd';
       }