]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/output/DateSelector.java
UPD: Use strict date parsing.
[gigi.git] / src / org / cacert / gigi / output / DateSelector.java
index 0728eca3e73a7d69bbaf670e1779112fc344e603..1aefa13725dd80e2a5d1e3b3882cc664c3867cde 100644 (file)
@@ -134,6 +134,7 @@ public class DateSelector implements Outputable {
         SimpleDateFormat local = fmt.get();
         if (local == null) {
             local = new SimpleDateFormat("yyyy-MM-dd");
+            local.setLenient(false);
             local.setTimeZone(TimeZone.getTimeZone("UTC"));
             fmt.set(local);
         }