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 <[email protected]> Authored: Wed Jun 24 01:29:57 2015 -0700 Committer: Adam B <[email protected]> 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'); } }; })
