ericjgagnon / wickedpicker

A simple jQuery timepicker
http://ericjgagnon.github.io/wickedpicker/
MIT License
93 stars 78 forks source link

"now:" option is not always accurate #25

Closed fromoDev closed 8 years ago

fromoDev commented 8 years ago

var options = { now: "12:35", //hh:mm 24 hour format only, defaults to current time

As stated in your comments the "now" time must be entered in 24 hour format. It all works well besides for when you enter a time between 12:00 and 12:59 it gets treated as AM. Using 24 hour format it should be PM.

ericjgagnon commented 8 years ago

Yeah that is definitely a problem. I'll push a fix now. Thanks for pointing out the mistake.

ericjgagnon commented 8 years ago

Should be fixed in build 0.4.1

fromoDev commented 8 years ago

Thanx for the fix. I made the change. Works great now!