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
In year 2012, seeing the output of 112 confused me, and would potentially
confuse any JS noob. I thought it was some bug in node-postgres.
Presumably, JS starts counting time from Jan 1, 1900!
Also, according to [1], getYear() is deprecated and one should use getFullYear()
instead.
[1] http://www.w3schools.com/jsref/jsref_obj_date.asp
0 commit comments