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 JSON date parsing. #3

Merged

Conversation

atherlangga
Copy link

Fix JSON parsing for midday cycle

The current way of converting Protobuf timestamp into JSON object is erroneous due to wrong date pattern.

For example:
input: 2023-04-10T12:22:15
expected output: Apr 10, 2023 12:22:15 PM
actual output: Apr 10, 2023 12:22:15 AM

This PR fixes the issue above.

✔️ Checklist

  • Tests for new functionality and regression tests for bug fixes

@sumitaich1998 sumitaich1998 reopened this Jan 4, 2024
@sumitaich1998 sumitaich1998 changed the base branch from main to simple-date-format January 4, 2024 10:45
@sumitaich1998 sumitaich1998 merged commit 4231235 into goto:simple-date-format Jan 4, 2024
1 check passed
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.

2 participants