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 currency field. #50

Merged
merged 2 commits into from
Oct 14, 2021
Merged

Fix currency field. #50

merged 2 commits into from
Oct 14, 2021

Conversation

mbaechtold
Copy link
Collaborator

A field containing a numeric value can have an optional number style key. The key has to be either "currencyCode" or "numberStyle".

See the documentation about "Number Style Keys" available at https://developer.apple.com/library/archive/documentation/UserExperience/Reference/PassKit_Bundle/Chapters/FieldDictionary.html#//apple_ref/doc/uid/TP40012026-CH4-SW7

Closes issue #38.

This has been inspired by https://github.com/devartis/passbook/pull/37/files and https://github.com/ofw/wallet-py3k/commit/f5aff37dc80380ee1ea96c7af5e84615ae9f79f0

A field containing a numeric value can have an optional number style key. The keys has to be either "currencyCode" or "numberStyle".

See the documentation about "Number Style Keys" available at https://developer.apple.com/library/archive/documentation/UserExperience/Reference/PassKit_Bundle/Chapters/FieldDictionary.html#//apple_ref/doc/uid/TP40012026-CH4-SW7
@mbaechtold mbaechtold requested a review from fara May 24, 2020 16:22
@mbaechtold
Copy link
Collaborator Author

Hello @fara, could you please have a look at my proposed changes? 😃

@fara fara merged commit 17c13ee into master Oct 14, 2021
@mbaechtold mbaechtold deleted the mba/currency-field branch October 15, 2021 06:23
@mbaechtold
Copy link
Collaborator Author

Thank you @fara 🎉

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