set hour in DateTimePicker more than 23 -
in project , need using timepicker format hh:mm , use duration , not time , possible increase hh upto 99 , not stop in 23 !
i using datetime picker page : http://tarruda.github.io/bootstrap-datetimepicker/
after several time edit js file , found must change js code in "getutchours()" method http://tarruda.github.com/bootstrap-datetimepicker/assets/js/bootstrap-datetimepicker.min.js file goal !
but cannot find define of method :(
can me ? in advances !
valentino !
yes possible, code has condition whenever detects hour equal or greater 23 reset 23.
in code there no limit.
in bootstrap.timepicker.js
search "23" or "24" in code
you find following
`this.hour>=24?this.hour = 23`
i changed
this.hour>=24?this.hour = this.hour
without limit.
to make 99 changue to.
`this.hour>99?this.hour = 99` **up 99**
be sure use
`showmeridian = false`,
to make work.
im using "time" variable type in mysql , working fine.
now works.
Comments
Post a Comment