Skip to content

ABF1: read 2-digit-year (YYMMDD) acquisition dates correctly#1872

Open
h-mayorquin wants to merge 1 commit into
NeuralEnsemble:masterfrom
h-mayorquin:fix_abf1_yymmdd_date
Open

ABF1: read 2-digit-year (YYMMDD) acquisition dates correctly#1872
h-mayorquin wants to merge 1 commit into
NeuralEnsemble:masterfrom
h-mayorquin:fix_abf1_yymmdd_date

Conversation

@h-mayorquin

@h-mayorquin h-mayorquin commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

I found another bug @zm711

PR #1870 started reading the real acquisition date from lFileStartDate in ABF (Axon Binary Format) version 1 files, assuming that field is always packed as YYYYMMDD but older ABF version 1 files pack it as YYMMDD with a 2-digit year instead, so a file storing 180618 came back as year 18 rather than 2018-06-18. This handles both packings.

@h-mayorquin h-mayorquin self-assigned this Jul 10, 2026
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.

1 participant