airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndo...@apache.org
Subject [1/3] airavata-php-gateway git commit: Fix for AIRAVATA-1943
Date Mon, 04 Jul 2016 07:15:46 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop 7ba457142 -> c7798cc30


Fix for AIRAVATA-1943


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/45fa6296
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/45fa6296
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/45fa6296

Branch: refs/heads/develop
Commit: 45fa6296515eb5a422960a2bc34858eb561ddf0a
Parents: fb4c36c
Author: Nipurn Doshi <nipunhere@gmail.com>
Authored: Mon Jul 4 00:09:33 2016 -0700
Committer: Nipurn Doshi <nipunhere@gmail.com>
Committed: Mon Jul 4 00:09:33 2016 -0700

----------------------------------------------------------------------
 public/js/time-conversion.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/45fa6296/public/js/time-conversion.js
----------------------------------------------------------------------
diff --git a/public/js/time-conversion.js b/public/js/time-conversion.js
index 4146baa..04eea52 100644
--- a/public/js/time-conversion.js
+++ b/public/js/time-conversion.js
@@ -4,6 +4,8 @@
 function convertTimestamp(timestamp) {
     if( timestamp == null)
         return;
+    else
+        timestamp = $.trim( timestamp);
     if( timestamp.length <= 10)
         timestamp = timestamp * 1000;// Convert the passed timestamp to milliseconds    
     var d = new Date( parseInt( timestamp) ),


Mime
View raw message