mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m.@apache.org
Subject mesos git commit: Fixed web UI showing "YYYY" for year instead of year.
Date Wed, 24 Jun 2015 08:33:15 GMT
Repository: mesos
Updated Branches:
  refs/heads/master 2b4921701 -> d86341b21


Fixed web UI showing "YYYY" for year instead of year.

Review: https://reviews.apache.org/r/35782


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

Branch: refs/heads/master
Commit: d86341b216dc9bb0f97663007c04d147b663f427
Parents: 2b49217
Author: haosdent huang <haosdent@gmail.com>
Authored: Wed Jun 24 01:29:57 2015 -0700
Committer: Adam B <adam@mesosphere.io>
Committed: Wed Jun 24 01:29:57 2015 -0700

----------------------------------------------------------------------
 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/d86341b2/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 4ccff63..543fe9e 100644
--- a/src/webui/master/static/js/app.js
+++ b/src/webui/master/static/js/app.js
@@ -96,7 +96,7 @@
         if ((new Date(date)).getFullYear() == (new Date()).getFullYear()) {
           return $filter('date')(date, 'MMM dd HH:mm');
         } else {
-          return $filter('date')(date, 'MMM dd YYYY');
+          return $filter('date')(date, 'MMM dd yyyy');
         }
       };
     })


Mime
View raw message