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:49:44 -0500 |
commit | 32186e6c37d1df8b76d271070083b785a4508cc0 (patch) | |
tree | ccf6eb75f32fc696b392aa651caa9b091e26e5d3 | |
parent | 85bc6f3badc332fa24f95b0e5a40f725c21c4478 (diff) | |
download | vyatta-op-32186e6c37d1df8b76d271070083b785a4508cc0.tar.gz vyatta-op-32186e6c37d1df8b76d271070083b785a4508cc0.zip |
Fix history time format so that webgui and cli match
-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 |