Skip to content

fix date format - #45

Merged
qdequippe merged 1 commit into
masterfrom
fix-date-format
Aug 25, 2026
Merged

qdequippe merged 1 commit into
masterfrom
fix-date-format

Conversation

@qdequippe

Copy link
Copy Markdown
Collaborator

No description provided.

@qdequippe
qdequippe requested a lite review from Copilot August 25, 2026 12:30
@qdequippe qdequippe self-assigned this Aug 25, 2026
@qdequippe qdequippe added the bug Something isn't working label Aug 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to adjust date formatting used in generated PDF/XMP metadata (and includes a small FPDI-related fix), likely to better match expected PDF/Factur-X conventions.

Changes:

  • Update PDF subject and PDF Info dictionary date fields to use Ymd formatting.
  • Update XMP metadata generation date/timestamp formatting and make related FPDI tweaks (binary header bytes range, usort closure marked static).
  • Remove declare(strict_types=1); from ReaderTest.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
tests/ReaderTest.php Removes strict_types declaration from the test file header.
src/Writer.php Changes PDF metadata date formatting for subject and creation/modification dates.
src/Fdpi/FdpiFacturX.php Adjusts PDF binary header random byte range, makes sorting callback static, and changes XMP metadata date/timestamp formatting.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/Writer.php Resolved
Comment thread src/Fdpi/FdpiFacturX.php Resolved
@qdequippe
qdequippe merged commit fc1fa45 into master Aug 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants