dev to main - v0.1.2 #4

Merged
chiko merged 7 commits from dev into main 2025-10-26 14:22:06 +00:00
Showing only changes of commit d5a1bc9fa7 - Show all commits

View File

@@ -38,4 +38,7 @@ export function getTsNow() {
seconds: now.getSeconds()
}
return rtn;
}
}
export function unixToDate( unix_timestamp: number ) { return new Date(unix_timestamp * 1000) }
export function dateToUnix( date: Date ) { return Math.round( date.getTime()/1000 ) }