Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 12141 | Rev 12164 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 12141 Rev 12147
Línea 176... Línea 176...
176
							</select>
176
							</select>
177
						</div>
177
						</div>
178
						<div className="form-group">
178
						<div className="form-group">
179
							<label>Último día de aplicación</label>
179
							<label>Último día de aplicación</label>
180
							<Datetime
180
							<Datetime
181
								dateFormat="DD-MM-YYYY"
181
								dateFormat="YYYY-MM-DD"
182
								timeFormat={false}
182
								timeFormat={false}
183
								initialValue={action === 'edit' ? Date.UTC(year) : Date.now()}
183
								initialValue={action === 'edit' ? Date.UTC(year) : Date.now()}
184
								onChange={(e) =>
184
								onChange={(e) =>
185
									setYear(new Intl.DateTimeFormat({ year: 'numeric', month: 'numeric', day: 'numeric' }).format(e.toDate()))
185
									setYear(new Intl.DateTimeFormat({ year: 'numeric', month: 'numeric', day: 'numeric' }).format(e.toDate()))
186
								}
186
								}