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

generated GTIN differs in the latest vs 0.1.13 versions #9

Open
dakbhavesh opened this issue Mar 10, 2023 · 0 comments
Open

generated GTIN differs in the latest vs 0.1.13 versions #9

dakbhavesh opened this issue Mar 10, 2023 · 0 comments

Comments

@dakbhavesh
Copy link

Describe the bug

In the latest version of this package the input raw = '340123453111111111' gives different output than the version 0.1.13

To Reproduce

rawSSCC = '340123453111111111' 
GTIN(raw=rawSSCC)

output with the latest version = '34012345111110'

Expected behavior
expected output with the latest version = '3401234531111111110'

Additional Details:
Tried the above on the macOS Monterey - M1 Pro chip.
GTIN package version: 1.3.1649173518

Can you please explain if there is a change in the algorithm or if the bug is platform dependent?

Appreciate your earliest response on this. Thanks!

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

No branches or pull requests

1 participant