You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The paragraph immediately after listing 8.5 suggests that the reader may want to try testing "minutes ago" and "seconds ago" as an exercise. That's fine for the former, but the current implementation of getNiceDate() doesn't handle "seconds ago". The implication is that the reader only has to work on the test case, but in fact they need to modify the getNiceDate() implementation as well.
The text was updated successfully, but these errors were encountered:
The paragraph immediately after listing 8.5 suggests that the reader may want to try testing "minutes ago" and "seconds ago" as an exercise. That's fine for the former, but the current implementation of
getNiceDate()
doesn't handle "seconds ago". The implication is that the reader only has to work on the test case, but in fact they need to modify thegetNiceDate()
implementation as well.The text was updated successfully, but these errors were encountered: