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"
So all I want is to get rid of the -0600 timezone offset. How can I do this? Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you ask about git log, you can try and select most correct form from:
--date=localseems to be the best candidate.To make this permanent, use
git config --global log.date local.