keystonejs/keystone-classic

Field type 'Datetime' - format customization missing

Open

#3,160 opened on Jul 14, 2016

View on GitHub
 (8 comments) (1 reaction) (0 assignees)JavaScript (2,288 forks)batch import
4.x candidatebughelp wanted

Repository metrics

Stars
 (14,656 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

There is no working way to specify the format of Datetime. Also the placeholder is hardcoded in DatetimeField.js

<FormInput name={this.props.paths.time} value={this.state.timeValue} placeholder="HH:MM:SS am/pm" onChange={this.timeChanged} autoComplete="off" />

Contributor guide