]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/output/DateSelector.java
UPD: Move some template classes to there reightful place.
[gigi.git] / src / org / cacert / gigi / output / DateSelector.java
index 0728eca3e73a7d69bbaf670e1779112fc344e603..aadac045a6aabf8eff08630bad75f61c8804348c 100644 (file)
@@ -13,6 +13,7 @@ import javax.servlet.http.HttpServletRequest;
 
 import org.cacert.gigi.GigiApiException;
 import org.cacert.gigi.localisation.Language;
+import org.cacert.gigi.output.template.Outputable;
 
 public class DateSelector implements Outputable {
 
@@ -134,6 +135,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);
         }