Date field is buggy

In the article view, production, schedule for publication, there is a field for a date. If you try to enter directly a date, like 2009-04-05 it will not recognize it directly. If I write it, and save right ahead, the date is changed for today’s date. I need to write it, trick somehow the calendar (do not ask me how, but after messing around with the entry and the calendar, it jumped to April 2009. Then, selected in the calendar, save, and it works.

Thanks

ok, one of the problems is the existence of a space in the beginning of the field.

EDIT: yeah, it seems it was a space issues. Can’t this be corrected with a little JS trim code?

Hi @ambs,

The date input control is a third-party tool; I’m not sure why they wouldn’t trim input but it seems like a reasonable thing to expect.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi, @asmecher
Would be happy to report upstream. Let me know what is the package :slight_smile:

Thank you

Hi @ambs,

It’s JQuery’s datepicker.

Regards,
Alec Smecher
Public Knowledge Project Team