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
{{ message }}
This repository has been archived by the owner on May 30, 2023. It is now read-only.
The project's User Story #6 only requires that the data-yvalue attribute of a data point be set to a Date object. It does not explicitly state that the object has to be in ISO format. Hence,
Expected behavior
Test #8: The data-yvalue and its corresponding dot should align with the corresponding point/value on the y-axis
The above test should return true regardless whether a student set the data-yvalue attribute to take Date objects in ISO format or the JavaScript default format.
Actual behavior
Test only pass when Date object in data-yvalue attribute is explicitly formatted to ISO Dates. See screenshots.
How to Reproduce
Toggle line 66 and 67 of Javascript in the following pen
Issue Description
The project's User Story #6 only requires that the
data-yvalue
attribute of a data point be set to aDate
object. It does not explicitly state that the object has to be in ISO format. Hence,Expected behavior
The above test should return true regardless whether a student set the
data-yvalue
attribute to takeDate
objects in ISO format or the JavaScript default format.Actual behavior
Test only pass when
Date
object indata-yvalue
attribute is explicitly formatted to ISO Dates. See screenshots.How to Reproduce
Toggle line 66 and 67 of Javascript in the following pen
Link to Pen
https://codepen.io/qwenloh/pen/dyYGzjW
Browser Information
Screenshot
Test pass when
Date
object in thedata-yvalue
attribute is in ISO formatTest fail when the exact same code is tested, but without explicitly formatting the
Date
objectThe text was updated successfully, but these errors were encountered: