From a7b5995b19adcdfcffc969ce7e0cbbcd84737206 Mon Sep 17 00:00:00 2001 From: OGordoo Date: Tue, 16 Jun 2020 10:32:07 +0100 Subject: [PATCH] Fixing get-some-time --- subjects/get-some-time.en.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/subjects/get-some-time.en.md b/subjects/get-some-time.en.md index e6eb286cf..76af4cb0d 100644 --- a/subjects/get-some-time.en.md +++ b/subjects/get-some-time.en.md @@ -4,4 +4,8 @@ Create a function `firstDayWeek` that receives a week of the year (from 1 to 53) and a year (as a string), and returns the first day -of that week, in the format: 'dd-mm-yyyy'. \ No newline at end of file +of that week, in the format: 'dd-mm-yyyy'. By beginning of the week +we mean the monday of that week. + +If the first week is requested and it starts on the previous year +of the presented one, it should return the first day of the year.