Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 14170 Rev 14171
Línea 19... Línea 19...
19
			title='Último día de aplicación'
19
			title='Último día de aplicación'
20
		>
20
		>
21
			<Datetime
21
			<Datetime
22
				dateFormat="DD-MM-YYYY"
22
				dateFormat="DD-MM-YYYY"
23
				timeFormat={false}
23
				timeFormat={false}
24
				onChange={(e) =>
24
				onChange={(e) => {
-
 
25
					console.log(e.toDate())
25
					setYear(new Intl.DateTimeFormat({ year: 'numeric', month: 'numeric', day: 'numeric' }).format(e.toDate()))
26
					setYear(new Intl.DateTimeFormat({ year: 'numeric', month: 'numeric', day: 'numeric' }).format(e.toDate()))
26
				}
27
				}}
27
				initialValue={Date.parse(year)}
28
				initialValue={Date.parse(year)}
28
				inputProps={{ className: 'form-control' }}
29
				inputProps={{ className: 'form-control' }}
29
				isValidDate={(currentDate, selectedDate) => {
-
 
30
					console.log(currentDate)
-
 
31
					console.log(selectedDate)
-
 
32
					return true
-
 
33
				}}
-
 
34
				closeOnSelect
30
				closeOnSelect
35
			/>
31
			/>
36
		</SubmitModal>
32
		</SubmitModal>
37
	)
33
	)
38
}
34
}