cancel
Showing results for 
Search instead for 
Did you mean: 

DateRangeSelection - year automatically increments

former_member516423
Participant
0 Kudos

Dear experts,

I have an app which uses DateRangeSelection in filter bar and deploy it to portal.

It worked fine last few months. But recently I've observed strange things that the end date automatically increases year when I just click the element and haven't selected any date yet.

But this issue seems to happen on Firefox.

I try with Edge and Chrome. It works fine as usual.

Update:

I've checked again. Now the issue happens to chrome as well.

However, the problem exists in Production and Quality cloud. I've run test on Development with same UI5 version. It works fine.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member516423
Participant
0 Kudos

Dear all,

I've figured out the reason.

The valueFormat and displayFormat properties were set to dd/MM/YYYY.

YYYY means week year. Sometimes it's different from calendar year yyyy.

So I just need to change it to dd/MM/yyyy. Solved

Thanks

Tri