stable

Clone or download

Read-only

feat: Event based on datetime if date field display hours

Part of story #35094 have "calendar" events attached to tracker email notification *Testing:* - In a tracker with Date fields based only the date: *No changes expected* - In a tracker with start AND end Date field (of the timeframe semantic) based on datetime: The event attached to the mail should be minutes precise - In a tracker with start Date field based on datetime and a duration: The event attached to the mail should be minutes precise Change-Id: Ie0d33ff1f3630b4f1d864161b84da6535a60b8d8

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/CalendarEventData.php +18 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/EventDatesRetriever.php +3 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/EmailNotificationAttachmentProvider.php +5 −2 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/IComputeTimeframes.php +2 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeImpliedFromAnotherTracker.php +7 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeNotConfigured.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeWithDuration.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeWithEndDate.php +6 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/TimeframeConfigInvalid.php +5 −0 Go to diff View file
M plugins/tracker/tests/unit/Stub/Semantic/Timeframe/IComputeTimeframesStub.php +5 −0 Go to diff View file
M plugins/tracker/tests/unit/Stub/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/RetrieveEventDatesStub.php +10 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/EventDatesRetrieverTest.php +105 −4 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/Changeset/PostCreation/EmailNotificationAttachmentProviderTest.php +30 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/TimeframeWithDurationTest.php +11 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/TimeframeWithEndDateTest.php +14 −0 Go to diff View file