summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-08-11 16:34:33 -0400
committerVenkata Harish K Kajur <vk250x@att.com>2017-08-11 16:34:37 -0400
commit5cd5ef1806bdcd22b318be63345a5812711ed308 (patch)
tree4254bea561e71f9a83a76634446e6dc1cd1af92a
parentfd16c2550e347e5f8d7be11c12dae479e7947ed8 (diff)
[AAI-161 Amsterdam] Fix the timestamp for dmaap
Change-Id: I5b61c4818983e56fe042d6f1d37e6b4ac0418afc Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
-rw-r--r--aai-resources/src/main/java/org/openecomp/aai/util/StoreNotificationEvent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/aai-resources/src/main/java/org/openecomp/aai/util/StoreNotificationEvent.java b/aai-resources/src/main/java/org/openecomp/aai/util/StoreNotificationEvent.java
index a73c4c8..161339c 100644
--- a/aai-resources/src/main/java/org/openecomp/aai/util/StoreNotificationEvent.java
+++ b/aai-resources/src/main/java/org/openecomp/aai/util/StoreNotificationEvent.java
@@ -319,7 +319,7 @@ public class StoreNotificationEvent {
* @return the string
*/
public static String genDate() {
- FormatDate fd = new FormatDate("YYMMdd-HH:mm:ss:SSS");
+ FormatDate fd = new FormatDate("YYYYMMdd-HH:mm:ss:SSS");
return fd.getDateTime();
}