Skip to content
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

Fix Patient Issues show Incorrect Dates When Left Blank #1572

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xurror
Copy link
Contributor

@xurror xurror commented Mar 17, 2020

closes #1555

@xurror
Copy link
Contributor Author

xurror commented Mar 17, 2020

@muarachmann and @mhn94 please can you review this?

@robbyoconnor robbyoconnor added Feature: Patient Demographics outreachy For outreachy issues and bug hunts labels Mar 18, 2020
Copy link
Member

@muarachmann muarachmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! @mhn94 you've got this :)

Copy link
Member

@muarachmann muarachmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay @xurror I might have been in a haste as I didnt test this with some other dataset. Turns out that the dates are actually returned as 0000-00-00 when not stored.

Rather ensure a NULL is set in the database or do a check for this as it doesn't display the format correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Patient Demographics outreachy For outreachy issues and bug hunts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Patient Issues Show Incorrect Dates When Left Blank
3 participants