Browse Source

[producer] Correctif bug affichage iPhone

master
Guillaume 4 years ago
parent
commit
62d82cb535
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      producer/web/js/vuejs/order-order.js

+ 0
- 6
producer/web/js/vuejs/order-order.js View File

@@ -214,13 +214,7 @@ var app = new Vue({
},
dayClickList: function(event) {
var dateStr = event.currentTarget.getAttribute('data-distribution-date') ;
/*var arr = dateStr.split(/[- :]/),
dateObject = new Date(arr[0], arr[1]-1, arr[2], arr[3], arr[4], arr[5]);*/

var dateObject = Date.parse(String(dateStr));

console.log(dateObject) ;
//var dateObject = new Date(dateStr) ;
if(this.isAvailableDate(dateObject)) {
this.dayClickEvent(dateObject) ;
}

Loading…
Cancel
Save