Re: 0-Based indexes for git log
- From
- ππππ ππππͺππ£ <velocifyer@velocifyer.com>
- Date
- Sep 24, 2025, 17:18 UTC
- Message-ID
- <0fdd4ba0-f2e2-487b-9da0-686645c426e2@velocifyer.com>
- In-Reply-To
- <fd7758e5-7719-4bed-b1b3-2137c49cc950@velocifyer.com>
[resending because i made a typo]
Show 5 quoted lines
> In git log it uses a 1-based index for the date instead of a 0 based > index. So it says "Fri Sep 19 14:23:24 2025 -0400" when it should say > "Fri Sep 18 14:23:24 2025 -0400" (or "Friday 2025-8-18Β 14:23:24 > (-4:00.00)"Β to get a better format) >
I suggest git adds a config option for 0-based date and automatically uses 0-based date if there is a file at $HOME/.config/use-0-based-index-for-date or $USE-0-BASED-INDEX-FOR-DATE == true
-- George truly, ππππ ππππͺππ£ This email does not constitute a legally binding contract