소스 검색

Correct semester starting month

omassot 6 년 전
부모
커밋
ed86aecc61
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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';
       }