yeelliott / jquery-utils

Automatically exported from code.google.com/p/jquery-utils
MIT License
0 stars 0 forks source link

[ui-timepickr]There is a possibility that "23" is displayed in the morning. #59

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Write the following code:
<html>
<head>
  <link href="ui-timepickr/dist/themes/default/ui.core.css" rel="stylesheet" type="text/css" />
  <link href="ui-timepickr/src/css/ui.timepickr.css" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="jquery-ui/master/jquery-1.5.1.js"></script>
  <script type="text/javascript" src="ui-timepickr/page/jquery.utils.js" type="text/javascript"></script>
  <script type="text/javascript" src="ui-timepickr/page/jquery.strings.js" type="text/javascript"></script>
  <script type="text/javascript" src="ui-timepickr/page/jquery.anchorHandler.js" type="text/javascript"></script>
  <script type="text/javascript" src="ui-timepickr/page/jquery.ui.all.js" type="text/javascript"></script>
  <script type="text/javascript" src="ui-timepickr/src/ui.timepickr.js" type="text/javascript"></script>
  <script type="text/javascript">
    (function($) {
      $(document).ready(function() {
        $('#timestart').timepickr({
          trigger: 'click',
          updateLive: true
        });
      });
    })(jQuery);
  </script>
</head>
<body>
  <input id="timestart" type="text" value="09:00" />
</body>
</html>

2. Click the textbox(id="timestart").
3. Mouseover the bottom right of the textbox
4. Appear at 0 - 11 and 23

What is the expected output? What do you see instead?
 23 is not to be displayed.
 see : [r629]http://code.google.com/p/jquery-utils/source/browse/trunk/standalone/ui-timepickr/src/ui.timepickr.js:L242

Please use labels and text to provide additional information.
 browser:Internet Explorer 8, Firefox 3.5.18, Chrome 11
 OS:Windows XP SP3 pro

Original issue reported on code.google.com by koifu.ma...@gmail.com on 24 Mar 2011 at 10:42

Attachments: