freshworks / crayons

🖍️ Crayons - A UI Kit comprising of web components for building Freshworks Apps!

Home Page:https://crayons.freshworks.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] - fw Date Picker in Fw Form is not considering getTimezoneOffset while showing the data for the data of format string = '2023-04-13'

harshith-venkatesh-freshworks opened this issue · comments

Component
fw-date-picker

Describe the bug
User has observed the issue where for different timezones, date picker shows different view

To Reproduce
Steps to reproduce the current behavior:

  1. System time needs to be changed to ensure to see different date for same data

Expected behavior

  • Should offset be handled for string data in fw-date-picker or it needs to be handled in product

Screenshots
Screenshot 2023-04-13 at 2 10 20 AM

Screenshot 2023-04-13 at 3 42 17 PM

Additional context
Add any other context about the bug here.

This has been fixed.

Thanks @srivalli-sivaramasankaran , for taking this bug on priority and resolving the issue.
We are currently able to see the issue being resolved in the Edit-Form of our application attaching both pics (before-after)

Screenshot 2023-04-27 at 10 43 49 PM

Screenshot 2023-04-27 at 10 47 49 PM