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 24073 - validate date and handle time offset #3050

Merged

Conversation

ArwenQin
Copy link
Collaborator

Issue #: /bcgov/entity#24073

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the lear license (Apache 2.0).

Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Copy link
Collaborator

@severinbeauvais severinbeauvais left a comment

Choose a reason for hiding this comment

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

Can you update your unit tests to have a COLIN date with time?

I see you've now done this. Thanks!

'error': (
f"Founding date does not match with founding date from Colin. "
f"Filing founding_date: {founding_date}, "
f"Colin API founding_date: {response_json['business']['foundingDate']}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, thanks for removing the debugging code.

Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Copy link

@ArwenQin
Copy link
Collaborator Author

@vysakh-menon-aot @severinbeauvais
Since we updated the create-ui to retain the founding date fetched from Colin, I changed the legal-api codes back to just compare the string.
Could you please merge it, thank you!

@vysakh-menon-aot vysakh-menon-aot merged commit 55a1879 into bcgov:main Oct 30, 2024
7 checks passed
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