diagonal line support
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user