Skip to content

Commit

Permalink
Drop new Date()
Browse files Browse the repository at this point in the history
  • Loading branch information
ugyballoons committed Nov 25, 2024
1 parent 705be1a commit eac648b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/components/Clock.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export function TimeSinceLastImageClock(props) {
console.log(`Can't make Time Since Last Image with:`, row)
error = "Can't ascertain..."
} else {
const startTime = Date.parse(new Date(row["Date begin"]))
const startTime = Date.parse(row["Date begin"])
const exposureTime = row["Exposure time"] * 1000
const endTime = startTime + exposureTime
timeElapsed = time - endTime
Expand Down

0 comments on commit eac648b

Please sign in to comment.