Re: 0-Based indexes for git log
- From
- Nico Williams <nico@cryptonector.com>
- Date
- Sep 24, 2025, 15:43 UTC
- Message-ID
- <aNQRoMgSRVvNtStG@ubby>
- In-Reply-To
- <fd7758e5-7719-4bed-b1b3-2137c49cc950@velocifyer.com>
On Tue, Sep 23, 2025 at 05:15:46PM -0400, 𝕍𝕖𝕝𝕠𝕔𝕚𝕗𝕪𝕖𝕣 wrote:
> 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)
Day of month numbers are 1-based.