Explorar o código

Correct semester starting month

omassot %!s(int64=6) %!d(string=hai) anos
pai
achega
ed86aecc61
Modificáronse 1 ficheiros con 1 adicións e 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';
       }