Change:
"  return str;", "}", "", <del> "friendly(['2015-07-01', '2015-07-04']);" </del> <ins> "friendly(['2016-07-01', '2016-07-04']);" </ins> ], "tests": [ <del> "assert.deepEqual(friendly(['2015-07-01', '2015-07-04']), ['July 1st','4th'], 'message: <code>friendly(["2015-07-01", "2015-07-04"])</code> should return <code>["July 1st","4th"]</code>.');", "assert.deepEqual(friendly(['2015-12-01', '2016-02-03']), ['December 1st','February 3rd'], 'message: <code>friendly(["2015-12-01", "2016-02-03"])</code> should return <code>["December 1st","February 3rd"]</code>.');", "assert.deepEqual(friendly(['2015-12-01', '2017-02-03']), ['December 1st, 2015','February 3rd, 2017'], 'message: <code>friendly(["2015-12-01", "2017-02-03"])</code> should return <code>["December 1st, 2015","February 3rd, 2017"]</code>.');", "assert.deepEqual(friendly(['2016-03-01', '2016-05-05']), ['March 1st','May 5th'], 'message: <code>friendly(["2016-03-01", "2016-05-05"])</code> should return <code>["March 1st","May 5th"]</code>');", "assert.deepEqual(friendly(['2017-01-01', '2017-01-01']), ['January 1st, 2017'], 'message: <code>friendly(["2017-01-01", "2017-01-01"])</code> should return <code>["January 1st, 2017"]</code>.');", </del> <ins> "assert.deepEqual(friendly(['2016-07-01', '2016-07-04']), ['July 1st','4th'], 'message: <code>friendly(["2016-07-01", "2016-07-04"])</code> should return <code>["July 1st","4th"]</code>.');", "assert.deepEqual(friendly(['2016-12-01', '2017-02-03']), ['December 1st','February 3rd'], 'message: <code>friendly(["2016-12-01", "2017-02-03"])</code> should return <code>["December 1st","February 3rd"]</code>.');", "assert.deepEqual(friendly(['2016-12-01', '2018-02-03']), ['December 1st, 2016','February 3rd, 2018'], 'message: <code>friendly(["2016-12-01", "2018-02-03"])</code> should return <code>["December 1st, 2016","February 3rd, 2018"]</code>.');", "assert.deepEqual(friendly(['2017-03-01', '2017-05-05']), ['March 1st','May 5th'], 'message: <code>friendly(["2017-03-01", "2017-05-05"])</code> should return <code>["March 1st","May 5th"]</code>');", "assert.deepEqual(friendly(['2018-01-01', '2018-01-01']), ['January 1st, 2018'], 'message: <code>friendly(["2018-01-01", "2018-01-01"])</code> should return <code>["January 1st, 2018"]</code>.');", </ins> "assert.deepEqual(friendly(['2022-09-05', '2023-09-04']), ['September 5th, 2022','September 4th, 2023'], 'message: <code>friendly(["2022-09-05", "2023-09-04"])</code> should return <code>["September 5th, 2022","September 4th, 2023"]</code>.');" ], "MDNlinks": [

Discussion:
With the the new year now recently 2016... The test still stays: friendly(["2015-07-01", "2015-07-04"]) should return ["July 1st","4th"]. But shouldn't both years be ommited only if first year is the current year (which is 2016, not 2015). However, the test also says: friendly(["2016-03-01", "2016-05-05"]) should return ["March 1st","May 5th"] which implies it is following the rule that the current year is 2016. Am I missing something here?
This is for Bonfire: Friendly Dates.
Sounds like we need to update the tests on this one . . . or maybe make them more generic.
I incremented the year in every test except the last one in , some of the tests didn't need to be updated but I did it anyways. That should be enough for passing the tests during 2016, but I think those tests could be more generic
I think this issue can be closed now.