Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Datetime field shows in forms only as date field #90

DarkSide666 opened this Issue · 4 comments

2 participants


I have datetime field in my Model like this:

But in form generated with setModel this field shows up as only date field without time information.
Also in calendar widget there are no time fields to fill out.

In grid it shows correctly as datetime not only date.


The problem here is that there are no control for both date and time.The best bet would be to use ->display(array('form'=>'line'));


for this one we might need a better widget, with time support or separate it into two fields.


Ok I see. jQuery datepicker don't support time. I didn't know that.

I found this jQuery add-on called "Timepicker". Maybe it could be useful to include in ATK4 at some point.


If there will be necessity in any of our projects, I'll add it into atk4-addons under permissive license with no warranty (MIT)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.