Hi
I have a custom app and I get an error with the component fw-datepicker. I think it is a bug.
I configure the time picker like this:
// Configure Timepicker
startTimeDatepicker.timeProps = {interval: 1, locale: 'de'}
startTimeDatepicker.minYear = dateNow.getFullYear() - 1;
startTimeDatepicker.maxYear = dateNow.getFullYear();
setTimeout(() => {
startTimeDatepicker.value = '2024-04-01T08:00Z'
}, 3000);
The result is:
Works fine. This also works fine for the following ISO Dates
‘2024-04-02T08:00Z’
‘2024-04-03T08:00Z’
‘2024-04-04T08:00Z’
‘2024-04-05T08:00Z’
‘2024-04-06T08:00Z’
‘2024-04-07T08:00Z’
‘2024-04-08T08:00Z’
‘2024-04-09T08:00Z’
‘2024-04-10T08:00Z’
‘2024-04-11T08:00Z’
‘2024-04-12T08:00Z’
But it will not work, for dates > '2024-04-12’
// Configure Timepicker
startTimeDatepicker.timeProps = {interval: 1, locale: 'de'}
startTimeDatepicker.minYear = dateNow.getFullYear() - 1;
startTimeDatepicker.maxYear = dateNow.getFullYear();
setTimeout(() => {
startTimeDatepicker.value = '2024-04-13T08:00Z'
}, 3000);
The result is:
Can somebody confirm this is a bug? Or are I missing something?