瀏覽代碼

fix(lazygit): update date options

Joe 9 月之前
父節點
當前提交
ef8b2970ce
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      .config/lazygit/config.yml

+ 4 - 1
.config/lazygit/config.yml

@@ -143,8 +143,11 @@ customCommands:
         title: "Select Timestamp"
         title: "Select Timestamp"
         key: "InitialValue"
         key: "InitialValue"
         command: |
         command: |
-          bash -c "date \"+%Y-%m-%d %H:00:00 %z\";
+          bash -c "\
           date \"+%Y-%m-%d %H:%M:%S %z\";
           date \"+%Y-%m-%d %H:%M:%S %z\";
+          date \"+%Y-%m-%d %H:00:00 %z\";
+          date \"+%Y-%m-%d 00:00:00 %z\";
+          date \"+%Y-%m-01 00:00:00 +0000\";
           git log --pretty=format:%ad --date=iso | uniq | head -1;
           git log --pretty=format:%ad --date=iso | uniq | head -1;
           echo \"- Past author dates:\";
           echo \"- Past author dates:\";
           git log --pretty=format:%ad --date=iso | uniq | head -5;
           git log --pretty=format:%ad --date=iso | uniq | head -5;