Problem with returning the correct time

So I have a stupid problem…

Basically, (I think) my repl code is working right, but my system time on my computer is offset by some amount of time, and I can’t fix it (school computer loaned to me). (I am assuming the fcc website depends on my computers time)

So, I need someone to either tell me how to fix my issue with the system time or to see if my code is wrong.

Your project link(s)

Your browser information:

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

Challenge: Chain Middleware to Create a Time Server

Link to the challenge:

What exactly is not working? I tried to submit your code and it passed.

1 Like

The second requirement, the within 20 seconds is failing.
It also means my assumption is right about my system time being messed up and that it is affecting the test but not the HTML request.

It is also returning GMT, but idk if that matters.

Yep, you’re right. When I change my system clock the test fails.
But with the correct system time all tests pass. That means that your code works.

1 Like

Should I just skip it and move on?

I think you should skip and try to submit when you’ll have an access to a computer with a correct system time.

1 Like

Thank you so much for the help!

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