Can't pass test for : Your project can handle dates that can be successfully parsed by new Date(date_string)

Tell us what’s happening:
Describe your issue in detail here.
Hi,
I have been trying to finish Timestamp Project from APIs and Microservices

My solution has passed all the test except one, which is
Your project can handle dates that can be successfully parsed by

new Date(date_string)

I can not figure out where I am doing wrong. Please can someone take a look and point me to what I am doing wrong.

Thank you :slight_smile:

Your project link(s)

solution: https://replit.com/@burdeamit/fcc-timestamp-microservice-project

Your browser information:

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

Challenge: Timestamp Microservice

Link to the challenge:

You may need to use new Date(date_string) to test for valid dates rather than a regex.

Ok, I will try that. Thank you for the help :slight_smile:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.