Skip to content

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

Copy link

@shahparam shahparam left a comment

Choose a reason for hiding this comment

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

is this still needed?

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.

4 participants