Browse Source

Correct semester starting month

omassot 6 năm trước cách đây
mục cha
commit
ed86aecc61
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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';
       }