Browse Source

[producer] Correctif bug affichage iPhone

refactoring
Guillaume 4 years ago
parent
commit
b124e176b7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      producer/web/js/vuejs/order-order.js

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

@@ -216,6 +216,7 @@ var app = new Vue({
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]);
console.log(dateObject) ;
//var dateObject = new Date(dateStr) ;
if(this.isAvailableDate(dateObject)) {
this.dayClickEvent(dateObject) ;

Loading…
Cancel
Save