TimeStamp Service

Tell us what’s happening:
Testcase is not passed successfully even if the response if correct as per the provided example.

Your project link(s)

solution: https://replit.com/@fshah26/boilerplate-project-timestamp

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36

Challenge: Timestamp Microservice

Link to the challenge:

unix should be of type number, not string.

Edit: look carefully at the response example given.

A request to /api/1451001600000 should return { unix: 1451001600000, utc: "Fri, 25 Dec 2015 00:00:00 GMT" }

1 Like

Ohh My Bad! Great catch. Thanks!