I can make it work with:
final DateTimePicker datetimepicker = new
AjaxDateTimePicker("datetimepicker", Model.of(calendar.getTime()), "dd MMM
yyyy", "HH:mm")On Tue, Mar 1, 2016 at 10:43 AM, hfriederichs <[email protected]> wrote: > It's not a DatePicker, but a AjaxDateTimePicker. > I discovered it is indeed a pattern issue. > This is my code: > > private final static String dateDisplay = "dd MMM yyyy"; > private final static String timeDisplay = "HH.mm"; > scheduleDateTimeField = new AjaxDateTimePicker("scheduledatumtijd", > planDateModel, dateDisplay, timeDisplay) { > > etcetera. > > It works when I change dateDisplay to "dd MM yyyy", so that the month > parses > to a two digit number in stead of a shortened String (like 'Mar', > 'Apr'...). > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Dateparsing-error-kendo-AjaxDateTimePicker-only-in-March-May-October-tp4673756p4673763.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
