Skip to content

Commit 2a5a746

Browse files
Add leap day test case
1 parent 2999e76 commit 2a5a746

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

exercises/swift-scheduling/canonical-data.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,16 @@
9999
},
100100
"expected": "2022-08-07T20:00:00"
101101
},
102+
{
103+
"uuid": "d651fcf4-290e-407c-8107-36b9076f39b2",
104+
"description": "EOW translates to leap day",
105+
"property": "deliveryDate",
106+
"input": {
107+
"meetingStart": "2008-02-25T10:30:00",
108+
"description": "EOW"
109+
},
110+
"expected": "2008-02-29T17:00:00"
111+
},
102112
{
103113
"uuid": "439bf09f-3a0e-44e7-bad5-b7b6d0c4505a",
104114
"description": "2M before the second month of this year translates to the first workday of the second month of this year",

0 commit comments

Comments
 (0)