我想将时区设置为tig http://jonas.nitro.dk/tig/,我想在所有提交中使用日语时区(+0900),即使提交者有另一个时区。
我可以设置特定的时区吗?
Actual:
Thu Oct 11 01:07:31 2012 -0700
Expect:
Thu Oct 11 17:07:31 2012 +0900
答案 0 :(得分:1)
将以下行添加到~/.tigrc
文件中:
set show-date = local
答案 1 :(得分:0)
任何时间显示似乎是从mkdate()
function构建的,one of 5 modes计算{{3}}中的日期(NO
,DEFAULT
,LOCAL
,{{1 },RELATIVE
)。
因此,任何显示修改都应该在该函数中编码。
答案 2 :(得分:0)
对我有用的(tig 2.5.4)是:
将此行添加到 ~/.tigrc
:
set main-view-date-local = true