Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangel.avila22018-08-31 17:41:41 -0400
committerangel.avila22018-08-31 17:41:41 -0400
commita85f0d3f73bad6ccb520d95a8392ebc8accb0feb (patch)
tree13cd9e6ced3b05d6d1cf69f42645a09173f07dae
parent5cf8fea8002d630b5a3f861d8140f6d1e10cf596 (diff)
downloadorg.eclipse.osee-a85f0d3f73bad6ccb520d95a8392ebc8accb0feb.tar.gz
org.eclipse.osee-a85f0d3f73bad6ccb520d95a8392ebc8accb0feb.tar.xz
org.eclipse.osee-a85f0d3f73bad6ccb520d95a8392ebc8accb0feb.zip
bug[ats_TW10571]: Dispo set date set correctly
-rw-r--r--plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/DispoSetArtifact.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/DispoSetArtifact.java b/plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/DispoSetArtifact.java
index 0dc89fe3e9..0feca233bb 100644
--- a/plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/DispoSetArtifact.java
+++ b/plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/DispoSetArtifact.java
@@ -101,8 +101,9 @@ public class DispoSetArtifact extends BaseIdentity<String> implements DispoSet {
@Override
public String getTime() {
+ Date date = artifact.getSoleAttributeValue(DispoConstants.DispoTime, null);
SimpleDateFormat sdf = new SimpleDateFormat("EEE MMM dd HH:mm:ss z yyyy");
- return sdf.format(new Date(System.currentTimeMillis()));
+ return sdf.format(date);
}
}

Back to the top