Skip to content

Commit 2999e76

Browse files
Update noon to 13:00
1 parent 74bf189 commit 2999e76

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

exercises/swift-scheduling/canonical-data.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,33 @@
2121
},
2222
{
2323
"uuid": "93325e7b-677d-4d96-b017-2582af879dc2",
24-
"description": "ASAP before noon translates to today at five in the afternoon",
24+
"description": "ASAP before one in the afternoon translates to today at five in the afternoon",
2525
"property": "deliveryDate",
2626
"input": {
2727
"meetingStart": "1999-06-03T09:45:00",
2828
"description": "ASAP"
2929
},
3030
"expected": "1999-06-03T17:00:00"
3131
},
32+
{
33+
"uuid": "cb4252a3-c4c1-41f6-8b8c-e7269733cef8",
34+
"description": "ASAP at one in the afternoon translates to tomorrow at one in the afternoon",
35+
"property": "deliveryDate",
36+
"input": {
37+
"meetingStart": "2008-12-21T13:00:00",
38+
"description": "ASAP"
39+
},
40+
"expected": "2008-12-22T13:00:00"
41+
},
3242
{
3343
"uuid": "6fddc1ea-2fe9-4c60-81f7-9220d2f45537",
34-
"description": "ASAP after noon translates to tomorrow at noon",
44+
"description": "ASAP after one in the afternoon translates to tomorrow at one in the afternoon",
3545
"property": "deliveryDate",
3646
"input": {
37-
"meetingStart": "2008-12-21T13:30:00",
47+
"meetingStart": "2008-12-21T14:50:00",
3848
"description": "ASAP"
3949
},
40-
"expected": "2008-12-22T12:00:00"
50+
"expected": "2008-12-22T13:00:00"
4151
},
4252
{
4353
"uuid": "25f46bf9-6d2a-4e95-8edd-f62dd6bc8a6e",
@@ -84,7 +94,7 @@
8494
"description": "EOW on Friday translates to Sunday at eight in the evening",
8595
"property": "deliveryDate",
8696
"input": {
87-
"meetingStart": "2022-08-05T12:00:00",
97+
"meetingStart": "2022-08-05T14:00:00",
8898
"description": "EOW"
8999
},
90100
"expected": "2022-08-07T20:00:00"

exercises/swift-scheduling/instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ The following table shows how to translate them:
2020
| Description | Meeting start | Delivery date |
2121
| ----------- | ----------------------------- | ----------------------------------- |
2222
| `"NOW"` | - | Two hours after the meeting started |
23-
| `"ASAP"` | Before 12:00 | Today at 17:00 |
24-
| `"ASAP"` | After 12:00 | Tomorrow at 12:00 |
23+
| `"ASAP"` | Before 13:00 | Today at 17:00 |
24+
| `"ASAP"` | After or at 13:00 | Tomorrow at 13:00 |
2525
| `"EOW"` | Monday, Tuesday, or Wednesday | Friday at 17:00 |
2626
| `"EOW"` | Thursday or Friday | Sunday at 20:00 |
2727

0 commit comments

Comments
 (0)