Skip to content

Change decodeTimestamp2 to return nil in case sec = 0 #9

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 1 commit into from
Apr 7, 2022

Conversation

eitamring
Copy link

@eitamring eitamring commented Apr 7, 2022

we always need to call decodeTimestamp2 even when zero to perform the same logic just return nil value on
0000-00-00 00:00:00 timestamp
See testing in the Connector private repo on all timestamp
include
0001-00-00 00:00:00
0000-00-00 10:00:00
stay the same

@eitamring eitamring requested review from dbadyan and Alonreznik April 7, 2022 10:06
@eitamring eitamring merged commit 98108dd into main Apr 7, 2022
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