SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.96k stars 1.24k forks source link

There are some dates that are impossible to select using DatePicker #3927

Closed AlexandreCordaJunior closed 10 months ago

AlexandreCordaJunior commented 11 months ago

OpenUI5 version: 1.120.0

Browser/version (+device/version): Chrome 120.0.6099.109

Any other tested browsers/devices(OK/FAIL): It also doesn't work properly in Firefox and Edge.

URL (minimal example if possible): https://sdk.openui5.org/entity/sap.m.DatePicker/sample/sap.m.sample.DatePicker

User/password (if required and possible - do not post any confidential information here):

Steps to reproduce the problem:

  1. I try to select some of these dates (Oct 18, 2015; Oct 16, 2011; Oct 14, 2007; Oct 19, 2003; Oct 03, 1999) using DatePicker
  2. The component automatically select the previous date and I'm not able to use these dates

What is the expected result? I should be able to select these dates (Oct 18, 2015; Oct 16, 2011; Oct 14, 2007; Oct 19, 2003; Oct 03, 1999).

What happens instead? These dates are selected (Oct 17, 2015; Oct 15, 2011; Oct 13, 2007; Oct 18, 2003; Oct 02, 1999).

Any other information? (attach screenshot if possible) Ev1 Ev2

AlexandreCordaJunior commented 11 months ago

Systems that utilize this component, such as SuccessFactors, are also experiencing issues due to this error.

PetyaMarkovaBogdanova commented 11 months ago

Hi @AlexandreCordaJunior , can you, please, share your timezone? Thank you!

Best, Petya Markova. UI5 Dispatcher

boghyon commented 11 months ago

@AlexandreCordaJunior Could be already fixed with https://github.com/SAP/openui5/commit/8ec0e35c75a003b23550b74acc0b075aadd8704b. Is the same issue reproducible in https://sdk.openui5.org/nightly/#/entity/sap.m.DatePicker/sample/sap.m.sample.DatePicker?

AlexandreCordaJunior commented 11 months ago

@PetyaMarkovaBogdanova. My timezone is GMT-3

AlexandreCordaJunior commented 11 months ago

@boghyon.

This version is working properly.

image

Todor-ads commented 10 months ago

@AlexandreCordaJunior, this issue will also be fixed in the next patch for version 1.120

Best regards, Todor

boghyon commented 10 months ago

@AlexandreCordaJunior & future readers: the fix in 1.120 https://github.com/SAP/openui5/commit/f8667e5865f4f831d6019ce3be63818a29c36f49 is included since OpenUI5 1.120.3 or SAPUI5 1.120.4.