Skip to content

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

Open
sumitaich1998 wants to merge 2 commits into
mainfrom
fix-simple-date-format
Open

fix: fix bug in simple date format in http sink json payload#32
sumitaich1998 wants to merge 2 commits into
mainfrom
fix-simple-date-format

Conversation

@sumitaich1998

@sumitaich1998 sumitaich1998 commented Jan 4, 2024

Copy link
Copy Markdown

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

rajuGT commented Jan 8, 2024

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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

@shahparam shahparam left a comment

Copy link
Copy Markdown

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