airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [42/50] [abbrv] airavata-php-gateway git commit: fixing bug in JS date conversion of local to UTC
Date Wed, 29 Jul 2015 17:49:14 GMT
fixing bug in JS date conversion of local to UTC


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/6a4850fd
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/6a4850fd
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/6a4850fd

Branch: refs/heads/master
Commit: 6a4850fd53402156dbf026dacc266737417a94d3
Parents: fba03f4
Author: Supun Nakandala <scnakandala@apache.org>
Authored: Fri Jul 24 15:26:26 2015 -0400
Committer: Supun Nakandala <scnakandala@apache.org>
Committed: Fri Jul 24 15:26:26 2015 -0400

----------------------------------------------------------------------
 app/views/admin/experiment-statistics.blade.php | 2 +-
 app/views/admin/manage-experiments.blade.php    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/6a4850fd/app/views/admin/experiment-statistics.blade.php
----------------------------------------------------------------------
diff --git a/app/views/admin/experiment-statistics.blade.php b/app/views/admin/experiment-statistics.blade.php
index b8ec413..db36157 100644
--- a/app/views/admin/experiment-statistics.blade.php
+++ b/app/views/admin/experiment-statistics.blade.php
@@ -151,7 +151,7 @@
         var date = new Date(str);
         var year = date.getUTCFullYear();
         var month = date.getUTCMonth()+1;
-        var dd = dategetUTCDate();
+        var dd = date.getUTCDate();
         var hh = date.getUTCHours();
         var mi = date.getUTCMinutes();
         var sec = date.getUTCSeconds();

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/6a4850fd/app/views/admin/manage-experiments.blade.php
----------------------------------------------------------------------
diff --git a/app/views/admin/manage-experiments.blade.php b/app/views/admin/manage-experiments.blade.php
index 9fa19fa..60d439c 100644
--- a/app/views/admin/manage-experiments.blade.php
+++ b/app/views/admin/manage-experiments.blade.php
@@ -377,7 +377,7 @@ to be uncommented when actually in use.
         var date = new Date(str);
         var year = date.getUTCFullYear();
         var month = date.getUTCMonth()+1;
-        var dd = dategetUTCDate();
+        var dd = date.getUTCDate();
         var hh = date.getUTCHours();
         var mi = date.getUTCMinutes();
         var sec = date.getUTCSeconds();


Mime
View raw message