Opening hours mapping charging stations

This commit is contained in:
Robin van der Linde 2022-10-30 20:33:25 +01:00
parent 40b53687ac
commit ed8b097437
No known key found for this signature in database
GPG key ID: 53956B3252478F0D
2 changed files with 18 additions and 43 deletions

View file

@ -3767,31 +3767,17 @@
}
},
{
"id": "OH",
"render": "{opening_hours_table(opening_hours)}",
"freeform": {
"key": "opening_hours",
"type": "opening_hours"
},
"question": {
"en": "When is this charging station opened?",
"nl": "Wanneer is dit oplaadpunt beschikbaar??",
"da": "Hvornår er denne ladestation åben?",
"de": "Wann ist diese Ladestation geöffnet?",
"es": "¿Cuándo abre esta estación de carga?"
},
"mappings": [
{
"if": "opening_hours=24/7",
"then": {
"en": "24/7 opened (including holidays)",
"nl": "24/7 open - ook tijdens vakanties",
"da": "Åbent døgnet rundt (også på helligdage)",
"de": "Die Station ist durchgehend geöffnet (einschließlich Feiertage)",
"es": "Abre 24/7 (incluidos días festivos)"
}
"builtin": "opening_hours_24_7",
"override": {
"question": {
"en": "When is this charging station opened?",
"nl": "Wanneer is dit oplaadpunt beschikbaar??",
"da": "Hvornår er denne ladestation åben?",
"de": "Wann ist diese Ladestation geöffnet?",
"es": "¿Cuándo abre esta estación de carga?"
}
]
},
"id": "OH"
},
{
"id": "fee",
@ -5030,4 +5016,4 @@
},
"neededChangesets": 10
}
}
}

View file

@ -197,25 +197,14 @@
"id": "$$$"
},
{
"id": "OH",
"render": "{opening_hours_table(opening_hours)}",
"freeform": {
"key": "opening_hours",
"type": "opening_hours"
},
"question": {
"en": "When is this charging station opened?",
"nl": "Wanneer is dit oplaadpunt beschikbaar??"
},
"mappings": [
{
"if": "opening_hours=24/7",
"then": {
"en": "24/7 opened (including holidays)",
"nl": "24/7 open - ook tijdens vakanties"
}
"builtin": "opening_hours_24_7",
"override": {
"question": {
"en": "When is this charging station opened?",
"nl": "Wanneer is dit oplaadpunt beschikbaar??"
}
]
},
"id": "OH"
},
{
"id": "fee",