Skip to content

Conversation

@jvandenaardweg
Copy link
Contributor

@jvandenaardweg jvandenaardweg commented Mar 11, 2020

This PR will let you know if the "end date" is the present date, so if that position is still ongoing.

Apr 2017 – Present

will translate to:

"startDate": "2017-04-01T00:00:00+02:00",
"endDate": null,
"endDateIsPresent": true,
"durationInDays": 1076,

Nov 2019 – Feb 2020

will translate to:

"startDate": "2019-11-01T00:00:00+01:00",
"endDate": "2020-02-01T00:00:00+01:00",
"endDateIsPresent": false,
"durationInDays": 93,

@jvandenaardweg jvandenaardweg merged commit 70cc8d7 into master Mar 11, 2020
@jvandenaardweg jvandenaardweg deleted the feature/correct-present-date branch March 11, 2020 08:30
jvandenaardweg pushed a commit that referenced this pull request May 29, 2023
jvandenaardweg pushed a commit that referenced this pull request May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants