Skip to content

Commit 56cb40f

Browse files
committed
CSSTUDIO-2040 Convert time-range to absolute time when creating a logbook-entry from the DataBrowser.
1 parent 80c6b16 commit 56cb40f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/trends/rich-adapters/src/main/java/org/phoebus/apps/trends/rich/adapters/DatabrowserAdapterFactory.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ else if (adapterType.isAssignableFrom(LogEntry.class))
7474
.appendDescription(getBody(databrowserSelection));
7575
try
7676
{
77+
databrowserSelection.makeTimeRangeAbsolute();
78+
7779
final File image_file = databrowserSelection.getPlot() == null ? null : new Screenshot(databrowserSelection.getPlot()).writeToTempfile("image");
7880
if(image_file != null){
7981
log.attach(AttachmentImpl.of(image_file));

0 commit comments

Comments
 (0)