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

Calendar: UTC time support #4076

Closed
mrrohit1 opened this issue Feb 18, 2023 · 1 comment
Closed

Calendar: UTC time support #4076

mrrohit1 opened this issue Feb 18, 2023 · 1 comment
Labels
Resolution: By Design The behavior in the issue is by design and the component exhibits the expected behavior

Comments

@mrrohit1
Copy link

Describe the bug

I can't set time in UTC for minDate and value properties

minDate ={/* Date object in UTC */}

if i am passing this time its converting date object to UTC

Reproducer

No response

PrimeReact version

9.1.1

React version

17.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@mrrohit1 mrrohit1 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 18, 2023
@melloware
Copy link
Member

Do you have a reproducer? I don't think PrimeReact manipulates the dates at all so whatever date you pass in is the date it uses?

@melloware melloware added Resolution: Needs More Information More information about the issue is needed to find a correct solution and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Feb 18, 2023
@melloware melloware added Resolution: By Design The behavior in the issue is by design and the component exhibits the expected behavior and removed Resolution: Needs More Information More information about the issue is needed to find a correct solution labels Mar 3, 2023
@melloware melloware closed this as not planned Won't fix, can't repro, duplicate, stale Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: By Design The behavior in the issue is by design and the component exhibits the expected behavior
Projects
None yet
Development

No branches or pull requests

2 participants