Skip to content

[BB-5271] feat: Change studio schedule datetime inputs to user timezone - #444

Merged
Cup0fCoffee merged 1 commit into
opencraft-release/lilac.2from
kaustav/change_studio_frontend_timezone
Dec 31, 2021
Merged

[BB-5271] feat: Change studio schedule datetime inputs to user timezone#444
Cup0fCoffee merged 1 commit into
opencraft-release/lilac.2from
kaustav/change_studio_frontend_timezone

Conversation

@kaustavb12

Copy link
Copy Markdown
Member

Description

Currently in Studio, the coures date and time inputs in the "Schedule & Details" section are only in UTC.
This PR changes this to the user's prefered timezone as per the user's account settings.

  • Which edX user roles will this change impact? "Course Author"

Supporting information

BB-5271

Testing instructions

  1. Login to LMS
  2. Click on arrow beside username in upper-right corner
  3. Select Account from drop-down menu
  4. Set the Time Zone as prefered
  5. Go to Studio and open a course
  6. Go to Settings > Schedule & Details
  7. Under Course Schedule, check Course date and times.
  8. The times should be in the prefered timezone
  9. Check the time is correcly offset from UTC time

@kaustavb12 kaustavb12 changed the title [BB-5271 ]feat: Change studio schedule datetime inputs to user timezone [BB-5271] feat: Change studio schedule datetime inputs to user timezone Dec 21, 2021

@Cup0fCoffee Cup0fCoffee left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Approved

Can you fix the things I pointed out?

  • I tested this
  • I read through the code

Comment thread cms/static/js/utils/date_utils.js Outdated
Comment thread cms/static/js/utils/date_utils.js Outdated
Comment thread cms/static/js/utils/date_utils.js Outdated
Comment thread cms/static/js/utils/date_utils.js Outdated
Comment thread cms/static/js/utils/date_utils.js Outdated
Comment thread cms/static/js/utils/date_utils.js Outdated
@kaustavb12
kaustavb12 force-pushed the kaustav/change_studio_frontend_timezone branch from 76d4ed8 to d8fcf11 Compare December 24, 2021 05:59
@Cup0fCoffee
Cup0fCoffee merged commit 406b0ab into opencraft-release/lilac.2 Dec 31, 2021
@Agrendalath
Agrendalath deleted the kaustav/change_studio_frontend_timezone branch May 21, 2022 09:47
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 this pull request may close these issues.

2 participants