Skip to content

Manchester | 26-ITP-Sep | Rahana Suleiman | Sprint 1 | formatting-edge-cases - #1638

Open
rahanasuleiman8-ship-it wants to merge 4 commits into
CodeYourFuture:mainfrom
rahanasuleiman8-ship-it:formatting-edge-cases
Open

rahanasuleiman8-ship-it wants to merge 4 commits into
CodeYourFuture:mainfrom
rahanasuleiman8-ship-it:formatting-edge-cases

Conversation

@rahanasuleiman8-ship-it

Copy link
Copy Markdown

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Task code

CYF-1197

Changelist

Refactored formatAs12HourClock to handle edge cases including midnight (12:00 am), noon (12:00 pm), and minute preservation. Added comprehensive unit tests in Node test runner to verify correct 12-hour conversions and leading zero padding across all valid inputs.

@rahanasuleiman8-ship-it rahanasuleiman8-ship-it added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Oct 3, 2026

@cjyuan cjyuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good.

@cjyuan cjyuan added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants