yeelliott / jquery-utils

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

timepickr - {suffix} issue in 12-hour mode #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
    1. Switch to 12-hour mode - {convention:12}
    2. You will see {suffix} in the input field.

What is the expected output? What do you see instead?

    AM/PM should be there instead of {suffix}.

What version of the product are you using? On what operating system?
    0.6.6 and 0.7.0a
    Win XP, Firefox 3.5.2 and IE6

    You can see the problem even on the main demo site:

    http://haineault.com/media/jquery/ui-timepickr/page/#d-demo-wrapper-2

Original issue reported on code.google.com by olegki...@gmail.com on 8 Sep 2009 at 3:05

GoogleCodeExporter commented 9 years ago
This can be fixed by changing the default for format12 in ui.timepickr.js 
source:

format12:    '{h:02.d}:{m:02.d} {suffix:s}',

To:

format12:    '{h:02.d}:{m:02.d} {z:s}',

Original comment by beerling...@gmail.com on 2 Oct 2009 at 6:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
@beerlingtonvt Just resolved independently and came over to report.  Nice fix.

Original comment by Splendid...@gmail.com on 21 Feb 2010 at 1:23

GoogleCodeExporter commented 9 years ago
Please fix the demo / ui.timepickr.js source, it doesn't look good!

Original comment by marcu...@gmail.com on 12 Mar 2010 at 9:45

GoogleCodeExporter commented 9 years ago
committed .. thanks for the patch and sorry for the delay (damn busy..) ;)

Original comment by hainea...@gmail.com on 12 Mar 2010 at 3:07

GoogleCodeExporter commented 9 years ago
Issue 44 has been merged into this issue.

Original comment by hainea...@gmail.com on 12 Mar 2010 at 3:13