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

fix: fix bug in simple date format in http sink json payload #32

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

Conversation

sumitaich1998
Copy link

@sumitaich1998 sumitaich1998 commented Jan 4, 2024

the simple date format in http sink in firehose in case of json payload when template is empty sends the wrong timestamp in case of timestamp between 12pm to 1 pm, it sends am instead of pm. So that bug was in the pattern supplied , we had to change it to HH which is 24 hour format because it specifies the pattern for the input timestamp which is in protobuf ISO format , so that fixed the issue

@rajuGT
Copy link
Collaborator

rajuGT commented Jan 8, 2024

Sorry, didn't get this line when template is empty sends the wrong timestamp in case of timestamp between 12pm to 1 pm.

The template was hardcoded right? yyyy-MM-dd'T'hh:mm:ss

@sumitaich1998
Copy link
Author

Sorry, didn't get this line when template is empty sends the wrong timestamp in case of timestamp between 12pm to 1 pm.

The template was hardcoded right? yyyy-MM-dd'T'hh:mm:ss

yeas it was hardcoded before

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.

3 participants