Skip to content

fix: handle timestamps with no fractional seconds #149

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

Merged
merged 3 commits into from
Oct 17, 2023
Merged

Conversation

DKbyo
Copy link
Contributor

@DKbyo DKbyo commented Oct 12, 2023

According to rfc3339 timestamp protobuf could have optionally the fractional seconds. This change improves the current src/firebase_functions/private/util.py to convert the dates when there are no fractional seconds.

Fixes #148

@taeold taeold changed the title Handle timestamps with no fractional seconds fix: handle timestamps with no fractional seconds Oct 12, 2023
@taeold
Copy link
Collaborator

taeold commented Oct 12, 2023

This is an incredible contribution - thank you so much! Do you mind fixing the linter errors so we can merge the PR?

$ source venv/bin/activate
$ python3.10 -m mypy . --fix

@DKbyo
Copy link
Contributor Author

DKbyo commented Oct 12, 2023

Fixed lint!

@DKbyo
Copy link
Contributor Author

DKbyo commented Oct 16, 2023

@taeold friendly ping here, lint fixed and ready to run the CI process again

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.

TypeError when using python Crashlytics triggers
2 participants