diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-07-11 13:49:44 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-07-11 13:50:27 -0500 |
commit | f4efb9466ed9c2a5fecd8c46eb93e6c3d652f7d5 (patch) | |
tree | 6bbf1dd7091368f806e85c0eb4ebdb18eba7af20 | |
parent | 0d35dfe7c90d721ac0630108e2c8537de8c15be2 (diff) | |
download | vyatta-op-f4efb9466ed9c2a5fecd8c46eb93e6c3d652f7d5.tar.gz vyatta-op-f4efb9466ed9c2a5fecd8c46eb93e6c3d652f7d5.zip |
Fix history time format so that webgui and cli match
(cherry picked from commit 32186e6c37d1df8b76d271070083b785a4508cc0)
-rw-r--r-- | templates/show/history/brief/node.def | 3 | ||||
-rw-r--r-- | templates/show/history/node.def | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/templates/show/history/brief/node.def b/templates/show/history/brief/node.def index 4dc73c1..92c76ca 100644 --- a/templates/show/history/brief/node.def +++ b/templates/show/history/brief/node.def @@ -1,4 +1,5 @@ help: recent command history -run: HISTFILE="$HOME/.bash_history" +run: HISTTIMEFORMAT='%FT%T%z ' + HISTFILE="$HOME/.bash_history" \set -o history history 20 diff --git a/templates/show/history/node.def b/templates/show/history/node.def index 21e79e7..c1487eb 100644 --- a/templates/show/history/node.def +++ b/templates/show/history/node.def @@ -1,4 +1,5 @@ help: show command history -run: HISTFILE="$HOME/.bash_history" +run: HISTTIMEFORMAT='%FT%T%z ' + HISTFILE="$HOME/.bash_history" \set -o history history |