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

ED-83: Date created is not being displayed correctly on tbdrugorder.csv #1

Merged
merged 1 commit into from Jun 29, 2017

Conversation

mogoodrich
Copy link
Contributor

This is a fix for: https://tickets.pih-emr.org/browse/ED-83

When opening a CSV in Excel, if a datetime field contains a fraction of second component, Excel by default interprets the data as just a time, and displays only the time component. Users have to manually change the type of the column in Excel.

It appears that if we use DATE_FORMAT to format dates to not include the fraction of a second component, the issue is resolved.

@davidoh @SwathiVarkala let us know if you see any issues with this commit before we merge it in. I've tested it locally, but will furthermore test it on our staging server after we merge it in. Thanks!

@mogoodrich
Copy link
Contributor Author

This should be minor, so I'm going to go ahead and merge this in.

@mogoodrich mogoodrich merged commit 3e73b9b into master Jun 29, 2017
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.

None yet

1 participant