Page MenuHomeSoftware Heritage

save code now detailed task window can display erratic creation date time
Closed, MigratedEdits Locked

Description

As demonstrated in the following screenshot, some start date are displayed as EPOCH (or close enough):

[1] "1/1/1970, 1:00:00 AM"

Event Timeline

ardumont triaged this task as Normal priority.Apr 27 2021, 1:59 PM
ardumont created this task.
ardumont added a project: Save Code Now.

Well, trying out the following in your browser (console or devtools):

> new Date(null).toLocaleString()
"1/1/1970, 1:00:00 AM"

So there you go, when the start date is null, it renders such value.
So the code rendering the date should check for null value and left it as is.

ardumont changed the task status from Open to Work in Progress.Apr 28 2021, 4:13 PM
ardumont claimed this task.

Needs deployment now.

Deployment is done.