biip icon indicating copy to clipboard operation
biip copied to clipboard

Unable to parse '000000' date

Open silentbugs opened this issue 6 months ago • 2 comments

Hello!

Some of the GS1 barcodes I am scanning contain some silly dates, such as '000000'. Currently parsing fails completely, as month 0 and day 0 are not a valid month/day respectively.

Is it possible to decide how certain errors are handled, and if they should fallback to defaults or fail completely?

Example of a GS1 barcode that fails: 019906600092731431030078881500000010215359

silentbugs avatar Dec 15 '23 22:12 silentbugs