Repository navigation
Read aaa and aaaa as day of the week date codes - #796
Merged
appel1 merged 1 commit intoNov 30, 2026
Merged
Conversation
zzoraemon043
added a commit
to zzoraemon043/zzoraemon043
that referenced
this pull request
Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
aaaandaaaaare the day of the week codes in Excel number formats. The parser only knowsam/pmanda/pfora, so a format that shows only the weekday has no date part and is a syntax error. A cell formatted asaaaor(aaa)is read as a double instead of aDateTime. Formats that also havem,dory, such asm/d (aaa), were already dates.Excel 365, serial 45306.25:
aaaaaaa(aaa)[$-411]aaaaaaaaaaaa)AAAaaa)aa\a\a)The change reads three or more
aas one token and counts it as a date part. A singleaoraais unchanged, as aream/pmanda/p.Tests: new cases in
DateTokensMatchAsciiCaseOnlyandFormatClassification_PreservesEndOfInputAndSections. Before the change 7 of them fail; after itdotnet test ExcelDataReader.slnx -c Releasepasses on net10.0, net11.0 and net462, and the Release build withTreatWarningsAsErrors=truehas no warnings.ClassificationMatchesUnchangedParserstill matches the snapshot.I left the era year code
eout. Reading a bareeas a date part changes 9 snapshot entries built from\General(the escapedGleaveseneral), so that needs a decision on the snapshot first.