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

Bug/idss 305/iso datetime #8

Merged
merged 3 commits into from
Aug 14, 2023
Merged

Bug/idss 305/iso datetime #8

merged 3 commits into from
Aug 14, 2023

Conversation

Geary-Layne
Copy link
Contributor

Related to Linear 305.

utils.py::to_iso(dt: datetime)

The previous implementation was tested against datetime instances created by:
datetime.datetime(...)
datetime.now(timezone.utc)
datetime.utcnow()

When updating test the utilize to_iso() is was discovered that datetime.parser.parse(dt_string) results in a datetime instance the represent the timezone in an alternative way. The new implementation uses a string rep of timezone vs the enum type.

Copy link
Collaborator

@rabellino-noaa rabellino-noaa 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 add a .pyc ignore to the .gitignore so the binary files aren't part of the PR?

@Geary-Layne Geary-Layne merged commit eef93fb into main Aug 14, 2023
2 checks passed
@mackenzie-grimes-noaa mackenzie-grimes-noaa deleted the bug/idss-305/iso-datetime branch November 16, 2023 16:04
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