You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ss...@apache.org on 2013/12/10 23:07:31 UTC

git commit: Printed timezone, full ISO 8601, with timestamps.

Updated Branches:
  refs/heads/master e1e933d08 -> c4a88cb12


Printed timezone, full ISO 8601, with timestamps.

The current date format, "2013-12-05 10:08:30", does not include the
timezone and can be confusing when the timezone is different than
expected. Add the timezone and the letter "T" between the date and time
to match the ISO 8601 standard.

"2013-12-05 10:08:30" -> "2013-12-05T10:08:30-0800"

Review: http://reviews.apache.org/r/16096


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

Branch: refs/heads/master
Commit: c4a88cb1208270787c431b9a49430f4d26ecd9e6
Parents: e1e933d
Author: Ross Allen <ro...@gmail.com>
Authored: Thu Dec 5 10:43:16 2013 -0800
Committer: Ross Allen <ro...@gmail.com>
Committed: Tue Dec 10 14:06:56 2013 -0800

----------------------------------------------------------------------
 src/webui/master/static/js/app.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/c4a88cb1/src/webui/master/static/js/app.js
----------------------------------------------------------------------
diff --git a/src/webui/master/static/js/app.js b/src/webui/master/static/js/app.js
index 728758d..37b423e 100644
--- a/src/webui/master/static/js/app.js
+++ b/src/webui/master/static/js/app.js
@@ -65,7 +65,7 @@
     })
     .filter('isoDate', function($filter) {
       return function(date) {
-        return $filter('date')(date, 'yyyy-MM-dd H:mm:ss');
+        return $filter('date')(date, 'yyyy-MM-ddTH:mm:ssZ');
       };
     })
     .filter('relativeDate', function() {