senthilraj/TimePicki — pull request #4 by chrisderouck (2014-12-15 16:56:36+00:00)
Title: 24 Hour support + Minutes overflow + Step Size + Mobile Keyboard block

Hi,

I was looking for a simple timepicker and what you've been making seemed to be doing that. So thanks for sharing your project :-)

I needed some modifications because we don't use AM/PM indication in Europe but a 24-Hour based system. I've added an option to disable the Meridian (AM/PM) fields. That way it was possible to have a clean 24H based picker for me by choosing the right min and max hours.

Besides that I've introduced step size for hours and minutes. I actually only needed minutes to be selectable per 5 - 10 or 15 minutes. Don't know yet what the eventual value will be, but it's an option now anyway.

Thought it made sense to have an overflow for the minutes as well. When you go beyond the top or bottom of the minutes fields, the hour field can be adjusted as well. However I tried to keep everything backwards compatible, and made all those modifications optional and defaulted them to the original behavior.

When I tried how everything then performed on Mobile Devices I found that the keyboard would always popup. I added an option to add the readonly property for this as well which now basically only prevents the keyboard from popping up.

I updated the features and options pages accordingly and I (hope I) fixed some spelling issues where I thought there were typos.

Kind Regards,

Chris De Rouck