-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ben/lmb 1288 end date mandatarissen #358
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just looked at the code for now
@@ -88,6 +89,7 @@ ext:eindeF | |||
sh:name "Einde"; | |||
sh:order 800; | |||
sh:path mandaat:einde; | |||
fieldOption:endOfDay true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a fan of naming it endOfDay
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other option is startOfNextDay, which would be more correct but I think that makes it more confusing. Otherwise don't really have any better ideas.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keep it
} | ||
INSERT { | ||
GRAPH ?g { | ||
?mandataris mandaat:einde "2025-01-12T23:00:00Z"^^xsd:dateTime . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to add the dcterms:modified here aswell?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is not really necessary because this is updated in the next migration as well, with a dct:modified.
?mandataris dct:modified ?mod. | ||
|
||
?mandataris mandaat:einde ?end. | ||
FILTER(?mod > "2024-01-01T00:00:00Z"^^xsd:dateTime) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this not create errors for mandatarissen that are at the end of a bestuursorgaan binding end? For now the dateInpit still still showing this as an error when the date is after the max date
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes true, added a new migration to also set the end dates of bestuursorganen to the beginning of the next day
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
they should also be rendered as end of day, but we don't render them anywhere do we?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't render them indeed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will remove the migration to set these end dates of bestuursorganen, because those are not final yet, and we will set them correctly whenever we do set them.
?mandataris dct:modified ?mod. | ||
|
||
?mandataris mandaat:einde ?end. | ||
FILTER(?mod > "2024-01-01T00:00:00Z"^^xsd:dateTime) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are having some issues with data before this date as well, Karel is checking with loket.
Description
Update mandataris form so that the mandataris end date is actually the start of next day.
Add migration to reset end dates for gemeenteraad Zottegem.
Add migration to update end dates previously entered in LMB, so it is actually the start of next day.
How to test
See linked PR.
Links to other PR's