Fix last survey date for defibrillator
This commit is contained in:
parent
b330b80aeb
commit
4bb0f18ecc
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
"osmTags": "emergency=defibrillator"
|
||||
},
|
||||
"calculatedTags": [
|
||||
"_days_since_last_survey=Math.floor(new Date() - new Date(feat.properties['survey:date'])/(1000*60*60*24))",
|
||||
"_days_since_last_survey=Math.floor((new Date() - new Date(feat.properties['survey:date']))/(1000*60*60*24))",
|
||||
"_recently_surveyed=Number(feat.properties._days_since_last_survey) <= 90"
|
||||
],
|
||||
"minzoom": 12,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue