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

Add upper/lower presentation format for am/pm in fromMillis #277

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

alexwoodgate
Copy link
Contributor

Fixes #276

Fix is based on the original JSONata fix, (jsonata-js/jsonata#644) basically just removed the extra = from === as the code is consistent between the JS and Java versions.

Updates $fromMillis() function to support am/pm PN presentation format to output AM/PM and adds test cases for PN and Pn (existing test case for default presentation covers just P).

@alexwoodgate
Copy link
Contributor Author

@wnm3 What was the reason this PR was closed? Any issue with the fix or additional changes needed?

@wnm3
Copy link
Member

wnm3 commented Oct 26, 2023

Hmm, I thought it has been accepted. I can reopen...

@wnm3 wnm3 reopened this Oct 26, 2023
@wnm3 wnm3 merged commit 64ec5c5 into IBM:master Oct 26, 2023
3 checks passed
@wnm3 wnm3 mentioned this pull request Oct 26, 2023
@wnm3
Copy link
Member

wnm3 commented Oct 26, 2023

I'm releasing v2.4.5 today -- will be in Maven in a few hours. Sorry for the confusion.

@alexwoodgate
Copy link
Contributor Author

Thanks for sorting it so quickly.

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.

fromMillis not handling PN picture string
2 participants