]> WPIA git - gigi.git/commitdiff
UPD: Use strict date parsing.
authorFelix Dörre <felix@dogcraft.de>
Thu, 4 Sep 2014 19:53:16 +0000 (21:53 +0200)
committerFelix Dörre <felix@dogcraft.de>
Thu, 4 Sep 2014 19:53:16 +0000 (21:53 +0200)
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);
         }