GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
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)