Cannot pass a single test in Timestamp Microservice

Tell us what’s happening:
I can’t pass test on this project except for the first one. I have used my own code and the solution but neither of them work.

Your code so far
https://repl.it/@BuiChiTrung/timestamp#index.js

Your browser information:
Google Chrome 88.0.4324.96 (Official Build) (64-bit)

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36.

Challenge: Timestamp Microservice

Link to the challenge:

Thanks a bunch!

Here’s the output I get when I use your endpoint:

The utc field looks like it’s formatted wrong to me. In the test description it says it should be formatted as:

Thu, 01 Jan 1970 00:00:00 GMT

Hope that helps!

1 Like