fix(转换能力): 修复PDF日期解析兼容问题
build.yaml / build (push) Successful in 46s

This commit is contained in:
xiaoqidun committed 2026-10-20 23:19:34 +08:00
1 parent 764e8a750a
commit 580592bbf8
2 files changed
+13 -6

No files matched your search

+1 -1
View File
@@ -927,7 +927,7 @@ func (p *pdfImporter) documentMetadata(ctx context.Context, strict bool) error {
return fmt.Errorf("PDF metadata %s: %w", field.name, err)
}
if text != *field.text {
p.report.Warnings = append(p.report.Warnings, pdfgo.Diagnostic{Message: "PDF metadata " + field.name + ": time zone separators normalized"})
p.report.Warnings = append(p.report.Warnings, pdfgo.Diagnostic{Message: "PDF metadata " + field.name + ": date normalized"})
*field.text = text
}
}