ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gna...@apache.org
Subject ambari git commit: AMBARI-18045. Pig view - Pig script creation fails. (gauravn7)
Date Mon, 08 Aug 2016 14:52:27 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 8c9ea6511 -> 9dfc12c94


AMBARI-18045. Pig view - Pig script creation fails. (gauravn7)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9dfc12c9
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9dfc12c9
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9dfc12c9

Branch: refs/heads/trunk
Commit: 9dfc12c94b791b1e557d02be4f59fb1a6a5883b6
Parents: 8c9ea65
Author: Gaurav Nagar <gnagar@hortonworks.com>
Authored: Mon Aug 8 20:20:52 2016 +0530
Committer: Gaurav Nagar <gnagar@hortonworks.com>
Committed: Mon Aug 8 20:21:59 2016 +0530

----------------------------------------------------------------------
 contrib/views/pig/src/main/resources/ui/pig-web/app/initialize.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9dfc12c9/contrib/views/pig/src/main/resources/ui/pig-web/app/initialize.js
----------------------------------------------------------------------
diff --git a/contrib/views/pig/src/main/resources/ui/pig-web/app/initialize.js b/contrib/views/pig/src/main/resources/ui/pig-web/app/initialize.js
index 19f6e31..abd72f1 100644
--- a/contrib/views/pig/src/main/resources/ui/pig-web/app/initialize.js
+++ b/contrib/views/pig/src/main/resources/ui/pig-web/app/initialize.js
@@ -64,7 +64,7 @@ App.IsodateTransform = DS.Transform.extend({
   },
   serialize: function (deserialized) {
     if (deserialized) {
-      return moment(deserialized).format('X');
+      return moment(deserialized).utc().format('YYYY-MM-DDTHH:mm:ss') + 'Z';
     }
     return deserialized;
   }


Mime
View raw message