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

Dates aren't displayed in their original format in the Import Wizard #320

Open
lmatayoshi opened this issue Aug 28, 2020 · 0 comments
Open
Labels
collector Issues for maap-collector import-wizard

Comments

@lmatayoshi
Copy link
Contributor

lmatayoshi commented Aug 28, 2020

When uploading the following Lab Record Import CSV file:

ID,LabID,TestID,Result,Date
1243,1l23jkh45,43,positive,15Dec19
123,hj3245,43,positive,16May19
124,oi8324,43,negative,17Apr19
5123541,138jh53,43,negative,08Jun19
51,091324j,23,positive,19Aug19

And choosing the proper format DDMMMYY in the Protected Health Information Step:

protected_health_information_step

I would expect to see the dates in their original format. However, the following Review Step screen shows:

review_step

Which is confusing, because it makes me think that I misselected the date format in the previous step.

The problem is that the xlsxManager.js module is parsing those fields as Dates and formatting them its way. A possible solution would be forcing the manager to read those fields as plain text.

It's just an UI problem though. Dates are being sent with its original format to the server

@lmatayoshi lmatayoshi added collector Issues for maap-collector import-wizard labels Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
collector Issues for maap-collector import-wizard
Projects
None yet
Development

No branches or pull requests

1 participant