Skip to content

Fix @DATE()@ formatting and replace strftime with dformat - #543

Open
eduardomozart wants to merge 1 commit into
splitbrain:masterfrom
eduardomozart:fix-date-format
Open

Fix @DATE()@ formatting and replace strftime with dformat#543
eduardomozart wants to merge 1 commit into
splitbrain:masterfrom
eduardomozart:fix-date-format

Conversation

@eduardomozart

Copy link
Copy Markdown
Contributor

This PR addresses the deprecation of strftime() in newer PHP versions by replacing it with DokuWiki's built-in dformat() function inside src/Template.php.
Additionally, it fixes an issue where the @DATE@ placeholder wasn't being parsed correctly when nested inside the @DATE() pattern.

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