Please add the url to your project, not (only) the rendered product. It won’t help much to look at the end result. One can reconstruct the url to the project but this will take time and reduce your chances of a good answer.
I just spent the past 3 days trying to get #1 to pass, and it came down to one simple thing that was left out of every explanation I found.
// returns date_string converted to utc and unix time
timestamp['unix'] = new Date(date_string).getTime();
timestamp['utc'] = new Date(date_string).toUTCString();```
I tried many different things, even copy and paste source code for passing projects and even then they still would not pass because the source code was incorrect. The second argument was missing, as show below:
```if (date_string.includes('-')
I figured out the problem.
For test #1: I should have looked at the tests via developer tools. I hadn’t included this date format “05%20October%202011” in my if statement.
For test #2: I’d made a typo which was why it wasn’t passing!