jonthornton/jquery-timepicker

hrs only

papyr opened this issue ยท 1 comments

papyr commented

Hello, this is really nice ๐Ÿ‘ I am trying to replace text fields with your timepicker, becuase user may accidentally enter commas, etc.

It would be great to have your timepicker for hors only, like screenshot

I have a timesheet, with many rows / cells in a week, how do I allow hrs only (someone may pick 4 hrs of work) on the time sheet
image

I also want to get the hrs entered and make sure it does not exceed 24 hrs in day.

$('#someInput').timepicker({step: 60}) would limit the options to only hours