mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2025-10-27 16:59:25 +00:00
Allow adding spots. Convert timestamps in the API to UNIX seconds. #2
This commit is contained in:
@@ -83,7 +83,7 @@ function updateTable() {
|
||||
}
|
||||
|
||||
// Format a UTC time for display
|
||||
var time = moment.utc(s["time"], moment.ISO_8601);
|
||||
var time = moment.unix(s["time"]).utc();
|
||||
var time_formatted = time.format("HH:mm")
|
||||
|
||||
// Format dx country
|
||||
|
||||
Reference in New Issue
Block a user