Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 12187 Rev 12303
Línea 178... Línea 178...
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="DD-MM-YYYY"
182
								timeFormat={false}
182
								timeFormat={false}
183
								initialValue={action === 'edit' ? Date.UTC(year) : Date.now()}
183
								initialValue={action === 'edit' ? Date.UTC(year) : ''}
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
								}
187
								inputProps={{ className: 'form-control' }}
187
								inputProps={{ className: 'form-control' }}
188
								closeOnSelect
188
								closeOnSelect