Use date instead of datetime were needed (#86)
If only the date is relevant we should not store it as a `datetime` since that would add timezone information which might cause the date to be displayed incorrectly in the frontend.
This commit is contained in:
committed by
GitHub
parent
32175ef883
commit
4dd33478d1
@@ -16,7 +16,7 @@
|
||||
"class": "org:ChangeEvent",
|
||||
"attributes": {
|
||||
"date": {
|
||||
"type": "datetime",
|
||||
"type": "date",
|
||||
"predicate": "dc_terms:date"
|
||||
},
|
||||
"description": {
|
||||
@@ -90,7 +90,7 @@
|
||||
"class": "http://data.vlaanderen.be/ns/besluit#Besluit",
|
||||
"attributes": {
|
||||
"publication-date": {
|
||||
"type": "datetime",
|
||||
"type": "date",
|
||||
"predicate": "http://data.europa.eu/eli/ontology#date_publication"
|
||||
},
|
||||
"document-link": {
|
||||
|
||||
@@ -63,11 +63,11 @@
|
||||
"class": "ch:AgentInPositie",
|
||||
"attributes": {
|
||||
"agent-start-date": {
|
||||
"type": "datetime",
|
||||
"type": "date",
|
||||
"predicate": "ch:startdatum"
|
||||
},
|
||||
"agent-end-date": {
|
||||
"type": "datetime",
|
||||
"type": "date",
|
||||
"predicate": "ch:eindedatum"
|
||||
}
|
||||
},
|
||||
@@ -117,11 +117,11 @@
|
||||
"super": ["agents-in-position"],
|
||||
"attributes": {
|
||||
"start-date": {
|
||||
"type": "datetime",
|
||||
"type": "date",
|
||||
"predicate": "mandaat:start"
|
||||
},
|
||||
"end-date": {
|
||||
"type": "datetime",
|
||||
"type": "date",
|
||||
"predicate": "mandaat:einde"
|
||||
}
|
||||
},
|
||||
@@ -165,7 +165,7 @@
|
||||
"super": ["mandatories"],
|
||||
"attributes": {
|
||||
"expected-end-date": {
|
||||
"type": "datetime",
|
||||
"type": "date",
|
||||
"predicate": "ere:geplandeEinddatumAanstelling"
|
||||
},
|
||||
"reason-stopped": {
|
||||
@@ -462,11 +462,11 @@
|
||||
"class": "besluit:Bestuursorgaan",
|
||||
"attributes": {
|
||||
"start-date": {
|
||||
"type": "datetime",
|
||||
"type": "date",
|
||||
"predicate": "mandaat:bindingStart"
|
||||
},
|
||||
"end-date": {
|
||||
"type": "datetime",
|
||||
"type": "date",
|
||||
"predicate": "mandaat:bindingEinde"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user