]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/output/DateSelector.java
Merge changes If3dd7037,Ib19bb63a
[gigi.git] / src / org / cacert / gigi / output / DateSelector.java
index 5f4c92eb1a9906933792cd33c3f5341f019b8447..2557282abe8dad4b8737b9ff6fd6baa0e972d6d4 100644 (file)
@@ -90,7 +90,7 @@ public class DateSelector implements Outputable {
         if (year != 0) {
             out.print(year);
         }
-        out.print("\" size=\"4\" autocomplete=\"off\">");
+        out.println("\" size=\"4\" autocomplete=\"off\">");
     }
 
     public void update(HttpServletRequest r) throws GigiApiException {
@@ -115,7 +115,7 @@ public class DateSelector implements Outputable {
     }
 
     public boolean isValid() {
-        if ( !(1900 < year && 1 <= month && month <= 12 && 1 <= day && day <= 32)) {
+        if ( !(1890 < year && 1 <= month && month <= 12 && 1 <= day && day <= 32)) {
             return false;
         }