-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Correct expiration epoch time #18026
Conversation
sdk/communication/azure-communication-chat/azure/communication/chat/_shared/utils.py
Outdated
Show resolved
Hide resolved
sdk/communication/azure-communication-chat/azure/communication/chat/_shared/utils.py
Outdated
Show resolved
Hide resolved
sdk/communication/azure-communication-chat/azure/communication/chat/_shared/utils.py
Show resolved
Hide resolved
Could you also add unit tests to cover this? Also, should this change be propagated across the other packages as well? |
c56ea6b
to
31ca7a4
Compare
Agree with @sarkar-rajarshi - this should have some unit tests including both naïve and TZ-aware inputs. With validation: |
872e34b
to
f0c2d59
Compare
sdk/communication/azure-communication-chat/azure/communication/chat/_shared/utils.py
Show resolved
Hide resolved
/azp run python - communication - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
No description provided.