use current month for last_updated value
This commit is contained in:
parent
f1384b72f2
commit
621db6ad2c
2 changed files with 8 additions and 7 deletions
|
@ -176,5 +176,6 @@ function formCoordsToMap() {
|
|||
|
||||
function formatTimestamp(ts) {
|
||||
const date = new Date(ts * 1000);
|
||||
return date.toLocaleDateString();
|
||||
// using Swedish format as a hack to get an iso formatted date
|
||||
return date.toLocaleDateString("sv", {timeZone: "UTC"}).replace(/\-\d+$/,'')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue