Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

Commit

Permalink
temp fix for ntu time
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuochun committed Jun 29, 2013
1 parent 15f578d commit 6f5417b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/js/utils/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ define(function(require, exports) {
, year = today.getFullYear()
, month = today.getMonth(); // month is [0, 11]

// Jan 0 - Jun 5 (this year sem 2)
// Jul 6 - Nov 10 (next year sem 1)
// TODO: change this school's specific folder

// Jan 0 - May 4 (this year sem 2)
// Jul 5 - Nov 10 (next year sem 1)
// Dec 11 (next year sem 2)
if (month <= 5) {
if (month <= 4) {
result.startYear = year - 1;
result.endYear = year;
result.semester = 2;
Expand Down

0 comments on commit 6f5417b

Please sign in to comment.