fix time picker bad format, RT#22001, RT#21061
authorIvan Kohler <ivan@freeside.biz>
Mon, 18 Mar 2013 07:14:10 +0000 (00:14 -0700)
committerIvan Kohler <ivan@freeside.biz>
Mon, 18 Mar 2013 07:14:10 +0000 (00:14 -0700)
httemplate/elements/tr-input-beginning_ending.html

index 7481c9b..ffc9038 100644 (file)
@@ -74,7 +74,7 @@ my( $input_time, $time_format, $time_hint ) = ( '', '', '' );
 my( $size, $maxlength ) = ( 11, 10 );
 if ( $opt{'input_time'} ) {
   $input_time  = ', showsTime: true, timeFormat: "12"'; # http://www.dynarch.com/demos/jscalendar/doc/html/reference.html#node_sec_2.3
-  $time_format = ' %k:%M:%S'; # http://www.dynarch.com/demos/jscalendar/doc/html/reference.html#node_sec_5.3.5
+  $time_format = ' %H:%M:%S'; # http://www.dynarch.com/demos/jscalendar/doc/html/reference.html#node_sec_5.3.5
   $time_hint   = ' h:m:s';
   $size = 21;
   $maxlength = 27;