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

Worked on ISO datetime format #283

Merged
merged 2 commits into from
May 6, 2024

Conversation

binni979
Copy link
Contributor

@binni979 binni979 commented Apr 24, 2024

This is a pull request to solve this issue.

Overview:
In the pyQuarc, while running the collection, it showed the warning message like this:
Screenshot 2024-04-11 at 10 26 03 AM

Changes made:
Modified the code to solve the showing error that they are not provided in ISO format. Now, no warning shows up like the above. Tested on this 'G184443593-LARC' (echo-g) and 'C179031451-LARC' (echo-c)collection to make sure the if the warning shows up.

@binni979 binni979 marked this pull request as ready for review April 24, 2024 13:34
@binni979 binni979 requested review from xhagrg and slesaad April 24, 2024 13:34
@binni979 binni979 self-assigned this Apr 24, 2024
Comment on lines 31 to 33
parts = datetime_string.split('.')
if len(parts) == 2:
datetime_string = parts[0]
Copy link
Contributor

Choose a reason for hiding this comment

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

datetime_string = datetime_string.split('.')[0]

No if condition is necessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed if condition.

@xhagrg
Copy link
Contributor

xhagrg commented May 2, 2024

LGTM.

@xhagrg xhagrg merged commit dc98a4d into validate-datetime-against_granules May 6, 2024
1 check passed
@xhagrg xhagrg deleted the iso-standard-check branch May 6, 2024 17:05
@slesaad slesaad mentioned this pull request Jun 24, 2024
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.

2 participants