]> andersk Git - moira.git/blobdiff - regtape/student.pc
Years apparently now flip in June, not July.
[moira.git] / regtape / student.pc
index 57ecc7f3122b9bc044158ae50b117a855876bedd..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++;
     }
 
This page took 0.030469 seconds and 4 git commands to generate.