]> andersk Git - moira.git/blobdiff - regtape/student.pc
Years apparently now flip in June, not July.
[moira.git] / regtape / student.pc
index 2a673c7e9ac17b706287425cddadcfcf6cf801ec..e70eba01bc73e8aa614e6bcbe0d499160de7669f 100644 (file)
@@ -180,7 +180,7 @@ struct entry *get_next_entry(FILE *in)
       gettimeofday(&tv, NULL);
       tm = localtime(&tv.tv_sec);
       nyear = tm->tm_year;
-      if (tm->tm_mon > 5)
+      if (tm->tm_mon >= 5)
        nyear++;
     }
 
@@ -231,7 +231,7 @@ struct entry *get_next_entry(FILE *in)
   e.id = id;
 
   e.xtitle = title;
-  if (year[0] == 'G')
+  if (year[0] == 'G' || year[0] == 'N')
     {
       e.type = "G";
       sprintf(title, "Grad Student");
This page took 0.032922 seconds and 4 git commands to generate.