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

Handle Time.at second argument correctly #26

Conversation

cosmo0920
Copy link
Contributor

@cosmo0920 cosmo0920 commented Sep 17, 2020

The second argument of Time.at will be handled with usec unit.

Fix for #18 (comment).

Signed-off-by: Hiroshi Hatake [email protected]

Thanks for contributing to Logstash! If you haven't already signed our CLA, here's a handy link: https://www.elastic.co/contributor-agreement/

@cosmo0920
Copy link
Contributor Author

@colinsurprenant @jsvd Could you kindly take a look?
Current implementation handles wrongly on sub-second part due to second argument of Time.at unit handling.

The second argument of Time.at will be handled with usec unit.

Signed-off-by: Hiroshi Hatake <[email protected]>
@cosmo0920 cosmo0920 force-pushed the handle-Time.at-second-argument-correctly branch from 23fa5af to 5d60b84 Compare September 17, 2020 08:48
@cosmo0920
Copy link
Contributor Author

@ckoenig This patch fixes your issue?

@ckoenig
Copy link

ckoenig commented Sep 17, 2020

@ckoenig This patch fixes your issue?

Yes, that fixes our issue.

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