Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Default Time in DateTimePicker #7992

Closed
1 task done
rahish13 opened this issue Dec 12, 2023 · 9 comments · Fixed by #8090
Closed
1 task done

Incorrect Default Time in DateTimePicker #7992

rahish13 opened this issue Dec 12, 2023 · 9 comments · Fixed by #8090
Assignees
Labels
bug This issue is a bug in the code High Prio TOPIC B

Comments

@rahish13
Copy link

Bug Description

The DateTimePicker component in our UI5 web application is exhibiting unexpected behavior related to the default time when selecting a date. It consistently provides an incorrect default time instead of occasionally using the local time, which is causing usability and data entry issues for our users.

Affected Component

DateTimePicker

Expected Behaviour

When selecting a date, the DateTimePicker should automatically use the local time or, at the very least, display a time value that accurately corresponds to the selected date.

Isolated Example

https://codesandbox.io/p/sandbox/unruffled-bose-clwcy8

Steps to Reproduce

Navigate to the DateTimePicker in the application.
Select a date by clicking on the calendar icon.
Observe that the DateTimePicker sets an incorrect default time.

image
image

Log Output, Stack Trace or Screenshots

No response

Priority

High

UI5 Web Components Version

1.17.0

Browser

Edge

Operating System

No response

Additional Context

No response

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.
@rahish13 rahish13 added the bug This issue is a bug in the code label Dec 12, 2023
@PetyaMarkovaBogdanova PetyaMarkovaBogdanova self-assigned this Dec 12, 2023
@PetyaMarkovaBogdanova PetyaMarkovaBogdanova added this to New Issues in Maintenance - Topic B via automation Dec 12, 2023
@PetyaMarkovaBogdanova
Copy link
Contributor

Hi colleagues,
can you, please, why the default time set is not correct in the sandbox sample.
I couldn't reproduce it with our storybook example, but inside the sandbox with the removing of "data-ui5-compact-size" the problem seems to be solved.

Best regards,
Petya Markova.

@rahish13
Copy link
Author

We are using this "data-ui5-compact-size" in our code, so we cant remove this.

@PetyaMarkovaBogdanova PetyaMarkovaBogdanova removed their assignment Dec 13, 2023
@rahish13 rahish13 changed the title Incorrect Default Time in DateTimePicker Incorrect Default Time in DateTimePicker - IMPORTANT Dec 14, 2023
@rahish13 rahish13 changed the title Incorrect Default Time in DateTimePicker - IMPORTANT Incorrect Default Time in DateTimePicker Dec 14, 2023
@rahish13
Copy link
Author

Hi team i am waiting for your reply.

@rahish13
Copy link
Author

Hi Team, it's been 5 days, no response from your side.

@petyabegovska
Copy link
Collaborator

Hello @rahish13, the team is investigating the issue and will reply you as soon as has findings.

Best regards,
Petya

@tsanislavgatev
Copy link
Contributor

Hello @rahish13,

We are currently working on a fix of the issue.

Best Regards,
Tsanislav

@rahish13
Copy link
Author

Hi Team in which version of ui5 you have fixed this?

1 similar comment
@rahish13
Copy link
Author

rahish13 commented Feb 5, 2024

Hi Team in which version of ui5 you have fixed this?

@ilhan007
Copy link
Member

ilhan007 commented Feb 5, 2024

@rahish13 in 1.22.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug in the code High Prio TOPIC B
Projects
Status: Completed
Development

Successfully merging a pull request may close this issue.

5 participants