Skip to content

Added date configuration to Schedule & Details settings page#457

Closed
jbcurtin wants to merge 1 commit intoopencraft-release/lilac.2from
jbcurtin/BB-5429-date-configuration
Closed

Added date configuration to Schedule & Details settings page#457
jbcurtin wants to merge 1 commit intoopencraft-release/lilac.2from
jbcurtin/BB-5429-date-configuration

Conversation

@jbcurtin
Copy link

@jbcurtin jbcurtin commented Feb 7, 2022

Description

Adds the ability to configure Schedule & Details settings page with the ability to show dd/mm/yyyy format. Default setting maintains existing behavior and doesn't introduce anything new.
Why:
Some areas of the world operate with the day-first: dd/mm/yyyy rather than mm/dd/yyyy.

Useful information to include:

Testing instructions

  • Initialize devstack to use branch
  • Open file cms/env/common.py and find SCHEDULE_DETAIL_FORMAT. Alter the string value from mm/dd/yyyy -> dd/mm/yyyy.
  • Load Schedule & Details page ( http://localhost:18010/settings/details/course-v1:edX+DemoX+Demo_Course )
  • Scroll down to Course Schedule. Notice the placeholder format in the date-fields.
  • Click in various date-fields and make sure the dates are correctly applied in format: dd/mm/yyyy

Deadline

None as of now.

@farhaanbukhsh farhaanbukhsh changed the base branch from open-release/lilac.2 to opencraft-release/lilac.2 February 8, 2022 12:14
@farhaanbukhsh
Copy link
Member

Closing in favour of #458

@farhaanbukhsh farhaanbukhsh deleted the jbcurtin/BB-5429-date-configuration branch February 8, 2022 12:48
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