From 53382eea65187663263f6a42ca4f764059f60c90 Mon Sep 17 00:00:00 2001 From: INOPIAE Date: Fri, 29 Jul 2016 08:19:57 +0200 Subject: [PATCH] upd: moved the lower year range to 1890 so the age check of the DoB with 120 years is working Change-Id: I5112bbe4fa18c7b8757d1a36e9065b9550eb6451 --- src/org/cacert/gigi/output/DateSelector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/cacert/gigi/output/DateSelector.java b/src/org/cacert/gigi/output/DateSelector.java index 5f4c92eb..a1753269 100644 --- a/src/org/cacert/gigi/output/DateSelector.java +++ b/src/org/cacert/gigi/output/DateSelector.java @@ -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; } -- 2.39.2