From 9efcd8a9d53a3c0650870aa13c6db6ed5f52b5ee Mon Sep 17 00:00:00 2001 From: Andrew Penhorwood Date: Sun, 23 Jun 2024 07:21:58 -0500 Subject: [PATCH] Update datediff.json missing ; for cf2018 --- data/en/datediff.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/en/datediff.json b/data/en/datediff.json index 450531886..ba7c60bc8 100644 --- a/data/en/datediff.json +++ b/data/en/datediff.json @@ -28,7 +28,7 @@ { "title": "How old are they?", "description": "Calculates a persons age based on a variable birthDate which contains a date. Uses the now function to get current date.", - "code": "\nbirthDate = createDate( 1972, 5, 20 );\nage = dateDiff(\"yyyy\", birthDate, now())\nwriteoutput( age );\n" + "code": "\nbirthDate = createDate( 1972, 5, 20 );\nage = dateDiff(\"yyyy\", birthDate, now());\nwriteoutput( age );\n" }, { "title": "dateDiff member function",