Closed alexis-via closed 2 years ago
It is needed that the encode uses such format or this is an optional value?
I see your tests are failing because the dateutil library is not available. Could you please fix that?
Tests are now green. I removed the dependency on dateutil.
@alexis-via thanks for providing this change and tanks @pokoli for providing some feedback!
Merged as 7d81eac.
Date such as '(17)260400' is now properly interpreted as April 30th 2026. Previous behavior: crash.
Information source : GS1 General specifications https://www.gs1.org/docs/barcodes/GS1_General_Specifications.pdf section "Expiration date: AI (17)" page 162