keystonejs/keystone-classic

Field type 'Datetime' - format customization missing

Open

#3.160 geöffnet am 14. Juli 2016

Auf GitHub ansehen
 (8 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (14.656 Stars) (2.288 Forks)batch import
4.x candidatebughelp wanted

Beschreibung

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