Browse Source

[producer] Correctif bug affichage iPhone

dev
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

var dateStr = event.currentTarget.getAttribute('data-distribution-date') ; var dateStr = event.currentTarget.getAttribute('data-distribution-date') ;
var arr = dateStr.split(/[- :]/), var arr = dateStr.split(/[- :]/),
dateObject = new Date(arr[0], arr[1]-1, arr[2], arr[3], arr[4], arr[5]); dateObject = new Date(arr[0], arr[1]-1, arr[2], arr[3], arr[4], arr[5]);
console.log(dateObject) ;
//var dateObject = new Date(dateStr) ; //var dateObject = new Date(dateStr) ;
if(this.isAvailableDate(dateObject)) { if(this.isAvailableDate(dateObject)) {
this.dayClickEvent(dateObject) ; this.dayClickEvent(dateObject) ;

Loading…
Cancel
Save