diagonal line support

This commit is contained in:
Tim Olson
2023-12-19 17:07:08 -04:00
parent 9199d31e77
commit 8007f63469
10 changed files with 170 additions and 52 deletions

View File

@@ -79,6 +79,8 @@ export function dateString(seconds) {
}
export function timestamp(date) {
export function timestamp(date=null) {
if(date===null)
date = new Date()
return Math.round(date.getTime() / 1000)
}