Skip to content

Correct expiration epoch time - #18026

Merged
juancamilor merged 8 commits into
masterfrom
leo/correctEpochTime
Apr 17, 2021
Merged

Correct expiration epoch time#18026
juancamilor merged 8 commits into
masterfrom
leo/correctEpochTime

Conversation

@Leoaqr

@Leoaqr Leoaqr commented Apr 14, 2021

Copy link
Copy Markdown
Contributor

No description provided.

@sarkar-rajarshi

Copy link
Copy Markdown
Member

Could you also add unit tests to cover this? Also, should this change be propagated across the other packages as well?

@Leoaqr
Leoaqr force-pushed the leo/correctEpochTime branch from c56ea6b to 31ca7a4 Compare April 14, 2021 23:37
@RezaJooyandeh
RezaJooyandeh requested review from annatisch and removed request for turalf April 15, 2021 18:30
@annatisch

Copy link
Copy Markdown
Member

Agree with @sarkar-rajarshi - this should have some unit tests including both naïve and TZ-aware inputs.
For reference, this is how these are handled in msrest serialization:
https://github.com/Azure/msrest-for-python/blob/master/msrest/serialization.py#L1136-L1152

With validation:

@Leoaqr
Leoaqr force-pushed the leo/correctEpochTime branch from 872e34b to f0c2d59 Compare April 15, 2021 23:39
@annatisch

Copy link
Copy Markdown
Member

/azp run python - communication - tests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@juancamilor
juancamilor merged commit 66f11d7 into master Apr 17, 2021
@juancamilor
juancamilor deleted the leo/correctEpochTime branch April 17, 2021 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants