From git I can get the timestamp:
\"2011-10-04 12:58:36 -0600\"
but is there any way to show it as:
\"2011-10-04 06:58:36\"
Unfortunately, using git log --date=local as explained in previous answers changes the output format.
git log --date=local
To keep the format as asked (YYYY-MM-DD HH:mm) I had to use:
YYYY-MM-DD HH:mm
git log --date=iso-local
But that only works on git 2.7 or above.