Explorar o código

fix(lazygit): update date options

Joe hai 9 meses
pai
achega
ef8b2970ce
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      .config/lazygit/config.yml

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

@@ -143,8 +143,11 @@ customCommands:
         title: "Select Timestamp"
         key: "InitialValue"
         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: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;
           echo \"- Past author dates:\";
           git log --pretty=format:%ad --date=iso | uniq | head -5;