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

Datepicker and UTC #716

Closed
CefBoud opened this issue Nov 30, 2023 · 1 comment · Fixed by #944
Closed

Datepicker and UTC #716

CefBoud opened this issue Nov 30, 2023 · 1 comment · Fixed by #944

Comments

@CefBoud
Copy link
Contributor

CefBoud commented Nov 30, 2023

Issue Replication

  1. Head to o http://localhost:2001/course/COURSE_ID/settings/details
  2. Open the Network tab on Developer Settings.
  3. Submit a new course start time.
  4. Although it says UTC above the field, the time input when set is considered to be local time (in my case UTC+1), and what gets sent to the backend is the time input value converted to UTC. So when I chose 15:00, 14:00 gets sent to the backend.

Screenshot from 2023-11-30 12-17-58

@navinkarkera
Copy link
Contributor

It seems to be a long standing issue: Hacker0x01/react-datepicker#1787 with react-datepicker.

@KristinAoki KristinAoki linked a pull request Apr 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants