martinmroz / iata_bcbp

IATA Bar Coded Boarding Pass (BCBP) Parsing Library in Rust
MIT License
4 stars 0 forks source link

True up the Julian date references. #1

Open martinmroz opened 6 years ago

martinmroz commented 6 years ago

In Bcbp::date_of_issue_of_boarding_pass the Julian day is documented as starting at '1' whereas the Leg::date_of_flight is documented as starting at '0'.

anton-dutov commented 5 years ago

You misinformed Fields "date of flight" and "date of issue" date of flight: 001 = Jan 1st, 365 = Dec 31st, date of issue: 6001 = Jan 1st 2006, 6365 = Dec 31st 2006