Skip to content

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

@BingBlog

Description

@BingBlog
    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() ;

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions