Issue with the time is in milli secs
authorSeshu-Kumar-M <seshu.kumar.m@huawei.com>
Mon, 31 Oct 2016 04:00:37 +0000 (12:00 +0800)
committerSeshu-Kumar-M <seshu.kumar.m@huawei.com>
Mon, 31 Oct 2016 04:00:37 +0000 (12:00 +0800)
Change the time to standard GMT timezone
GSO-76

Change-Id: I1a4b1cc388e39ec7a671f9ddc4b8fdcc317a58e4
Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/gsolcmmain.html

index c90cde0..8b5677e 100644 (file)
@@ -15,6 +15,7 @@
     limitations under the License.\r
 \r
 -->\r
+\r
 <!DOCTYPE html>\r
 <html lang="en">\r
 <head>\r
     <script type="text/javascript" src="js/bootstrap-table-filter-control.min.js"></script>\r
     <script type="text/javascript">\r
         $(document).ready(function () {\r
-            /*    $('.modal-content').resizable({\r
-   \r
-                minHeight: 300,\r
-                minWidth: 300\r
-            });*/\r
+\r
             $('.modal-dialog').draggable();\r
             $("#detailCont").show();\r
             var jsondata = loadGetServiceData();\r
+                       \r
+                       $.each(jsondata,function(k,v){\r
+                        jsondata[k].createTime=  new Date(jsondata[key].createTime).toUTCString();\r
+                       });\r
+                       \r
             $('#sai').bootstrapTable({\r
                 //Assigning data to table\r
                 data: jsondata\r