cp icon indicating copy to clipboard operation
cp copied to clipboard

Use iView utils/date.js to format time in fieldDatatepicker.js

Open BingBlog opened this issue 5 years ago • 0 comments

    if (this.field.format === 'yyyyMMdd') {
        initdate = new Date(item.split(/(\d{4})(\d{2})(\d{2})/));
    } else {
        initdate = new Date(item.split(/\D+/));
    }
    return date && date.valueOf() === initdate.valueOf() ;

BingBlog avatar May 15 '20 13:05 BingBlog