Repository: airavata-php-gateway Updated Branches: refs/heads/develop 10095a940 -> f6b4e4418
fixing AIRAVATA-2243 : When experiments are retrieved for a given time period the time indicated in the heading is incorrect 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/f6b4e441 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/f6b4e441 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/f6b4e441 Branch: refs/heads/develop Commit: f6b4e441827744a6bccdb11f3f6514c6ccd3ab57 Parents: 10095a9 Author: scnakandala <[email protected]> Authored: Fri Dec 2 16:11:54 2016 -0500 Committer: scnakandala <[email protected]> Committed: Fri Dec 2 16:11:54 2016 -0500 ---------------------------------------------------------------------- app/views/admin/manage-experiments.blade.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/f6b4e441/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 f73f8dc..624d33f 100644 --- a/app/views/admin/manage-experiments.blade.php +++ b/app/views/admin/manage-experiments.blade.php @@ -471,7 +471,9 @@ to be uncommented when actually in use. type: 'get', success: function (data) { if( msg == null) - msg = "Experiment Statistics from " + startTime + " to " + endTime; + start = new Date(startTime + ' UTC'); + end = new Date(endTime + ' UTC'); + msg = "Experiment Statistics from " + start.toString() + " to " + end.toString(); $(".experiment-statistics").html( "<h2 class='text-center'>" + msg + "</h2><hr/>" + data); } }).complete(function () {
