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

Updates the timezone to utc for tcplog receiver #957

Open
wants to merge 2 commits into
base: v3
Choose a base branch
from

Conversation

RRashmit
Copy link

@RRashmit RRashmit commented Jan 2, 2025

Proposed changes

Testing notes:

echo "<134>2024-11-21T10:30:00+02:00 de29dd8863f8 Test log message" | nc 127.0.0.1 1515

Output:
image

echo "<134>2024-11-21T10:30:00-02:00 de29dd8863f8 Test log message" | nc 127.0.0.1 1515

image

Both scenario shows the output is converted to the correct UTC timezone.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • I have run make install-tools and have attached any dependency changes to this pull request
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • If applicable, I have updated any relevant documentation (README.md)
  • If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

@github-actions github-actions bot added the chore Pull requests for routine tasks label Jan 2, 2025
@RRashmit RRashmit marked this pull request as ready for review January 23, 2025 10:02
@RRashmit RRashmit requested a review from a team as a code owner January 23, 2025 10:02
@RRashmit RRashmit changed the title chore: updates the timezone to utc for tcplog receiver Updates the timezone to utc for tcplog receiver Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull requests for routine tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants