ericjgagnon / wickedpicker

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

Time Changes to AM when WickedPicker is opened. #8

Closed jkardong closed 8 years ago

jkardong commented 8 years ago

Description

When you click on a text field that is WickedPicker enabled, the time will change to AM no matter what time is set.

Repro

  1. In the WickedPicker index.html, change the init to the following $('.timepicker').wickedpicker({now: "14:25", twentyFour: false, title: 'My Timepicker', showSeconds: true});
  2. Open the index.html in a browser
  3. Click on the text field
  4. Note the time switches to AM

    Expected Result

Picker should not change the time

Actual Result

If the time is PM, the picker will change it to AM

ericjgagnon commented 8 years ago

I see what you mean. This will be resolved in the next commit.