Fixed summer term and sorting bugs
authorJordan Pryde <jxpryde@csclub.uwaterloo.ca>
Mon, 2 May 2016 19:43:10 +0000 (15:43 -0400)
committerroot <root@caffeine.csclub.uwaterloo.ca>
Mon, 2 May 2016 19:43:10 +0000 (15:43 -0400)
generate-expire-config

index 86c807a..d647477 100755 (executable)
@@ -3,6 +3,7 @@
 #
 # CONFIGURATION
 #
+LANG=C
 DISABLED_PAGE=/~sysadmin/expired/index.php
 WHITELIST="ctdalek"
 #
@@ -28,7 +29,7 @@ if [ ${TERM_START_MONTH} -eq 1 ]; then
    fi
 elif [ ${TERM_START_MONTH} -eq 5 ]; then
    if [ ${MONTH} -eq 5 ]; then
-      TERM_FILTER="(!(term=W${YEAR}))(!(term=W${YEAR}))"
+      TERM_FILTER="(!(term=W${YEAR}))(!(term=S${YEAR}))"
    else
       TERM_FILTER="(!(term=S${YEAR}))"
    fi