Closed Serial-ATA closed 4 months ago
Leading zeros in month
/day
fields are often omitted or replaced by space(s). The parser should tolerate those violations from the standard, because they are very common.
If these recoverable errors could be detected easily then ParsingMode::Strict
might reject them. If that would result in 2 different implementations than it's probably not worth the effort.
Summary
We could parse timestamps in the following frames: TDEN, TDOR, TDRC, TDRL, TDTG.
Instead of
FrameValue::Text
, they would now useFrameValue::Timestamp
.The structure is described in the ID3v2.4 frame overview:
API design