Skip to content

Correctly parse rfc3339 timezone and Nanosecond#8346

Merged
ph merged 2 commits intoelastic:masterfrom
ph:fix/correctly-parses-rfc3339-and-nanosecond
Sep 24, 2018
Merged

Correctly parse rfc3339 timezone and Nanosecond#8346
ph merged 2 commits intoelastic:masterfrom
ph:fix/correctly-parses-rfc3339-and-nanosecond

Conversation

@ph
Copy link
Copy Markdown
Contributor

@ph ph commented Sep 18, 2018

The code was not correctly creating the time and was isntead making
events appear to be a few years in the future. The nanosecond extraction
was not on the right scale for the time.Date, the commit fixes the
behavior and do assertions with the go parser.

bug was reported by @vjsamuel

@ph ph added review Filebeat Filebeat needs_backport PR is waiting to be backported to other branches. labels Sep 18, 2018
Copy link
Copy Markdown
Contributor

@vjsamuel vjsamuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @ph

@ph
Copy link
Copy Markdown
Contributor Author

ph commented Sep 18, 2018

Failures are valid looking into them.

@ph
Copy link
Copy Markdown
Contributor Author

ph commented Sep 18, 2018

After running a few times, sometime I have the issue and sometime I don't.

ph added 2 commits September 24, 2018 08:43
The code was not correctly creating the time and was isntead making
events appear to be a few years in the future. The nanosecond extraction
was not on the right scale for the time.Date, the commit fixes the
behavior and do assertions with the go parser.
@ph
Copy link
Copy Markdown
Contributor Author

ph commented Sep 24, 2018

rebased wating for the ci bots.

@ph ph merged commit 6204fce into elastic:master Sep 24, 2018
@ph ph added v7.0.0 and removed needs_backport PR is waiting to be backported to other branches. labels Sep 25, 2018
@ph ph added the v6.5.0 label Sep 25, 2018
ph added a commit that referenced this pull request Sep 25, 2018
…cond (#8432)

Cherry-pick of PR #8346 to 6.4 branch. Original message: 

The code was not correctly creating the time and was isntead making
events appear to be a few years in the future. The nanosecond extraction
was not on the right scale for the time.Date, the commit fixes the
behavior and do assertions with the go parser.

bug was reported by @vjsamuel
ph added a commit that referenced this pull request Sep 25, 2018
…cond (#8433)

Cherry-pick of PR #8346 to 6.x branch. Original message: 

The code was not correctly creating the time and was isntead making
events appear to be a few years in the future. The nanosecond extraction
was not on the right scale for the time.Date, the commit fixes the
behavior and do assertions with the go parser.

bug was reported by @vjsamuel
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
… Nanosecond (elastic#8432)

Cherry-pick of PR elastic#8346 to 6.4 branch. Original message: 

The code was not correctly creating the time and was isntead making
events appear to be a few years in the future. The nanosecond extraction
was not on the right scale for the time.Date, the commit fixes the
behavior and do assertions with the go parser.

bug was reported by @vjsamuel
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.

3 participants