We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb2de15 commit 6941206Copy full SHA for 6941206
Sprint-2/5-stretch-extend/format-time.js
@@ -40,18 +40,13 @@ console.assert(
40
);
41
42
const currentOutput5 = formatAs12HourClock("13:00");
43
-const targetOutput5 = "1:00 pm";
+const targetOutput5 = "01:00 pm";
44
console.assert(
45
currentOutput5 === targetOutput5,
46
`current output: ${currentOutput5}, target output: ${targetOutput5}`
47
48
49
-const currentOutput7 = formatAs12HourClock("25:00");
50
-const targetOutput7 = "01:00 am";
51
-console.assert(
52
- currentOutput7 === targetOutput7,
53
- `current output: ${currentOutput7}, target output: ${targetOutput7}`
54
-);
+
55
56
// modified code:
57
0 commit comments