Bug in wicket-jqueryui Kendo DateTimePicker?

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug in wicket-jqueryui Kendo DateTimePicker?

hfriederichs
Hello,

I'm using wicket-jquery-ui version 6.21.0. (and Wicket 6.20.0)
I'm adding a com.googlecode.wicket.kendo.ui.form.datetime.AjaxDateTimePicker:

private final static String dateDisplay = "EEE d MMM yyyy";
private final static String timeDisplay = "HH.mm";

DateTimePicker scheduleDateTimeField = new AjaxDateTimePicker("planDateTime", planDateModel, dateDisplay, timeDisplay) {
... etcetera

At first page rendering, the displayed Date is as it should be: 'do 24 dec 2015' ('do' is short for thursday in the Dutch Locale)

However, after selecting another Date in the picker, it shows: EEE 25 dec 2015, and the right rendering never appears again.

A bug or am I doing something wrong?

Regards, Hans Friederichs
Reply | Threaded
Open this post in threaded view
|

Re: Bug in wicket-jqueryui Kendo DateTimePicker?

Sebastien
Hi,

What EEE stands for ?

Java date patterns and kendo ui date patterns are very close, so a valid
java pattern should make it work. Additionnally, you can use the culture
option, please look at the samples...

Hope this helps,
Sebastien
Reply | Threaded
Open this post in threaded view
|

Re: Bug in wicket-jqueryui Kendo DateTimePicker?

hfriederichs
Hello Sebastien,

It's the day of the week.
SimpleDateFormat's javadoc:


Date and Time            Pattern Result
"EEE, MMM d, ''yy"      Wed, Jul 4, '01  


Hans
Reply | Threaded
Open this post in threaded view
|

Re: Bug in wicket-jqueryui Kendo DateTimePicker?

Sebastien
Hi Hans,

Lol, completely forgot this !
I am not really able to help today. Please check the forum and github
issues, you should find some answers about this...

If it still not helps, please create a quickstart and will have a look
early next week.

Merry Christmas,
Sebastien
On Dec 24, 2015 12:27, "hfriederichs" <[hidden email]> wrote:

> Hello Sebastien,
>
> It's the day of the week.
> SimpleDateFormat's javadoc:
>
>
> Date and Time            Pattern Result
> "EEE, MMM d, ''yy"      Wed, Jul 4, '01
>
>
> Hans
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Bug-in-wicket-jqueryui-Kendo-DateTimePicker-tp4673069p4673072.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Bug in wicket-jqueryui Kendo DateTimePicker?

Sebastien
Hi Hans,

Kendo UI date pattern handles day names differently than java.

I've fixed the issue and will deploy a snapshot tonight
https://github.com/sebfz1/wicket-jquery-ui/issues/216

Thanks & best regards,
Sebastien.
Reply | Threaded
Open this post in threaded view
|

Re: Bug in wicket-jqueryui Kendo DateTimePicker?

hfriederichs
Hello Sebastien,

Thank you for your quick response!

Best regards, Hans
Reply | Threaded
Open this post in threaded view
|

Re: Bug in wicket-jqueryui Kendo DateTimePicker?

Sebastien
Hi Hans,

6.21.1-SNAPSHOT & 7.1.1-SNAPSHOT have been deployed.

Caution: if you are using a custom Kendo UI theme, version has been
upgraded to v2015.3.1111

Best regards,
Sebastien.


On Mon, Dec 28, 2015 at 11:46 AM, hfriederichs <[hidden email]>
wrote:

> Hello Sebastien,
>
> Thank you for your quick response!
>
> Best regards, Hans
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Bug-in-wicket-jqueryui-Kendo-DateTimePicker-tp4673069p4673116.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>