Moment.js“无效日期”

时间:2018-03-14 08:35:35

标签: momentjs

我想制作日期格式dd-mm-yyyy,但$('#cmbAnketID').on('change', function (a) { var firstDate = a.added.element[0].attributes["data-bastar"].value; var secondDate = a.added.element[0].attributes["data-bittar"].value; var ilk = moment(firstDate.value, "DD/MM/YYYY").format('YYYY-MM-DD'); var son = moment(secondDate.value, "DD/MM/YYYY").format('YYYY-MM-DD'); $("#ilkTarih").val(ilk); $("#ikinciTarih").val(son); }); ,儿子来'无效日期'?

removeEdges(_object, wireframe) {
    console.log('Remove edge');
    // _object.Object3D.remove(wireframe);
    _object.children = [];
  }

0 个答案:

没有答案