Skip to content

Improve log date handling in tools-logs.html.twig#2497

Merged
rhukster merged 1 commit intogetgrav:developfrom
Xoriander:fix/log-output-date
Mar 17, 2026
Merged

Improve log date handling in tools-logs.html.twig#2497
rhukster merged 1 commit intogetgrav:developfrom
Xoriander:fix/log-output-date

Conversation

@Xoriander
Copy link
Contributor

@Xoriander Xoriander commented Feb 9, 2026

This pull request is part of the fix for #2468
The main part is this pull request getgrav/grav#4007

To avoid the output of the current date if none date was parsed from the logfile, a conditional check was added.

Added conditional check for log date to handle missing values.
@rhukster rhukster merged commit fbbf12a into getgrav:develop Mar 17, 2026
rhukster pushed a commit that referenced this pull request Mar 18, 2026
Added conditional check for log date to handle missing values.
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.

2 participants