Skip to content

Conversation

@hugosilvaparagramanet
Copy link
Contributor

When importing a LOTW certificate the "QSO End Date" was being stored in the database with time 00:00:00, but in fact the validity is a date so it should work until 23:59:59. This causes QSOs made in the last day that the certificate covers to not be uploaded to LOTW.
The fix is simply to add 23:59:59 to the data when importing the certificate.
I have not created a fix to the existing data since this is very close to an edge case and only people that ask for certificates with very tight date limits should be affected.

@phl0
Copy link
Contributor

phl0 commented Jul 1, 2023

Good point. Though it is an edge case we can fix it. I will have a look.

@hugosilvaparagramanet
Copy link
Contributor Author

Updated with migration from @phl0 to correct existing data in lotw_certs table

@phl0
Copy link
Contributor

phl0 commented Jul 2, 2023

Yeah. Worked on my end. Maybe @AndreasK79 can cross-check the DB stuff with his WAMP instance?

@AndreasK79
Copy link
Contributor

Tested working here :)

@AndreasK79 AndreasK79 merged commit 012cc85 into magicbug:dev Jul 2, 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.

3 participants