diagonal order form
This commit is contained in:
@@ -77,3 +77,8 @@ export function dateString(seconds) {
|
||||
const date = new Date(seconds*1000)
|
||||
return _dateFormat.format(date)
|
||||
}
|
||||
|
||||
|
||||
export function timestamp(date) {
|
||||
return Math.round(date.getTime() / 1000)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user