correciton calcul de la durée automatiquement
This commit is contained in:
@@ -99,7 +99,7 @@ function formatTime(time) {
|
||||
return String(hours).pad(2, "0") + ":" + String(minutes).pad(2, "0");
|
||||
}
|
||||
|
||||
$("#timer_start_time,#timer_end_time").change(function(){
|
||||
$("#timer_start_time,#timer_end_time").on('input',function(){
|
||||
console.log($("#timer_start_date").val() +"T"+$("#timer_start_time").val()+":00Z")
|
||||
console.log($("#timer_end_date").val()+"T"+$("#timer_end_time").val()+":00Z")
|
||||
var start = Date.parse($("#timer_start_date").val() +"T"+$("#timer_start_time").val()+":00Z");
|
||||
|
Reference in New Issue
Block a user