Skip to content

N°8692 - Notification - placeholder attributesubitem#778

Open
accognet wants to merge 7 commits intosupport/3.2from
feature/8692-placeholder_attributesubitem
Open

N°8692 - Notification - placeholder attributesubitem#778
accognet wants to merge 7 commits intosupport/3.2from
feature/8692-placeholder_attributesubitem

Conversation

@accognet
Copy link
Contributor

internal

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes formatting of StopWatch deadline subitems when the raw value is provided as a numeric string (notably for notification placeholders).

Changes:

  • Update AttributeStopWatch::GetSubItemAsPlainText() to accept numeric-string timestamps and cast them before calling date().
  • Add a PHPUnit test covering StopWatch deadline display formatting.

Reviewed changes

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

File Description
tests/php-unit-tests/unitary-tests/core/AttributeDefinitionTest.php Adds a unit test asserting the plain-text rendering of a StopWatch deadline subitem.
core/attributedef.class.inc.php Makes StopWatch “deadline” subitem plain-text rendering tolerant to numeric-string timestamps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@accognet accognet force-pushed the feature/8692-placeholder_attributesubitem branch from 14fdc00 to 058e0b2 Compare March 3, 2026 08:58
@Molkobain Molkobain requested a review from rquetiez March 6, 2026 13:00
accognet and others added 3 commits March 9, 2026 12:32
Co-authored-by: Romain Quetiez <romain.quetiez@combodo.com>
Co-authored-by: Romain Quetiez <romain.quetiez@combodo.com>
@accognet accognet requested a review from rquetiez March 9, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Work made by Combodo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants