Skip to content

Fix Patient Issues show Incorrect Dates When Left Blank#1572

Open
xurror wants to merge 1 commit intoLibreHealthIO:masterfrom
xurror:patient-issues-incorrect-dates
Open

Fix Patient Issues show Incorrect Dates When Left Blank#1572
xurror wants to merge 1 commit intoLibreHealthIO:masterfrom
xurror:patient-issues-incorrect-dates

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