diff --git a/app/templates/create_game.html b/app/templates/create_game.html index 9be4aed..65a2ab3 100644 --- a/app/templates/create_game.html +++ b/app/templates/create_game.html @@ -102,7 +102,9 @@ } else { $(picker).data("DateTimePicker").enable(); + console.log('1') if ($(picker).data("DateTimePicker") == null){ + console.log('2') $(picker).data("DateTimePicker") = moment().format('DD-MM-YYYY HH:mm'); } }