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

Time format check answers #4394

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

sarahcrack
Copy link
Collaborator

Trello card

https://trello.com/c/vSQni4QV/6962-change-time-formats-on-check-answers-page-in-adviser-funnel-on-git

Context

Whilst reviewing the adviser funnel as part of the move to GIT, a few minor improvements were noticed. One of these concerns the time format used on the check answers page (/teacher-training-adviser/sign_up/review_answers) for callback bookings. The time format should be e.g. 5:30pm.

Changes proposed in this pull request

  • Minor tweak to AnswerHelper to format times with :govuk_time_with_period.
  • When time is 12:00pm or 00:00am, AnswerHelper converts to midday and midnight as per GDS guidance.
  • Updated AnswerHelper test.

Guidance to review

  • Please double guidance, especially in relation to midday and midnight formatting (see above). This can be removed if not needed.
  • Cannot be merged until check is done with CRM to ensure time values passed are not affected.

@github-actions github-actions bot added ruby Pull requests that update Ruby code test labels Dec 2, 2024
Copy link

sonarcloud bot commented Dec 2, 2024

Copy link

github-actions bot commented Dec 2, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Do Not Merge Review ruby Pull requests that update Ruby code test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant