git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: 0-Based indexes for git log

From
Ben Knoble <ben.knoble@gmail.com>
Date
Sep 24, 2025, 15:26 UTC
Message-ID
<B4B7BB74-9B69-4CDB-B4F2-FFB976A5B0CA@gmail.com>
In-Reply-To
<27456c8a-25f4-40f2-a791-efd35457d121@velocifyer.com>
Show 7 quoted lines
> Le 24 sept. 2025 à 09:46, 𝕍𝕖𝕝𝕠𝕔𝕚𝕗𝕪𝕖𝕣 <velocifyer@velocifyer.com> a écrit :
> 
> 
>> 
>> Are these date formats locale-specific? In both the US English and France French locales I use commonly, the 19th of September in 2025 _is_ a Friday. Showing 18 would only be confusing.
> 
> Showing 19 confuses me because i'm used to 0-based indexes where the 19th is labeld as 18. Showing 18 would not cunfuse most people.
I would need evidence of that. Everyone I interact with agrees to write « 19 » when « 19th » is implied.
As I asked: is this particular to an community? I’m genuinely curious if there are groups or cultures that communicate this way. 
As Peff points out, you can probably make commands display your own personal preference (or a locale should handle this for your community). But I don’t think this is something we can force on other people, because it would be confusing. 
Previous: 𝕍𝕖𝕝𝕠𝕔𝕚𝕗𝕪𝕖𝕣Next: Jeff King
Message 4 of 17 in “0-Based indexes for git log”
  1. 𝕍𝕖𝕝𝕠𝕔𝕚𝕗𝕪𝕖𝕣Sep 23, 2025
  2. Ben KnobleSep 24, 2025
  3. 𝕍𝕖𝕝𝕠𝕔𝕚𝕗𝕪𝕖𝕣Sep 24, 2025
  4. Ben KnobleSep 24, 2025
  5. Jeff KingSep 24, 2025
  6. 𝕍𝕖𝕝𝕠𝕔𝕚𝕗𝕪𝕖𝕣Sep 24, 2025
  7. Nico WilliamsSep 24, 2025
  8. Junio C HamanoSep 24, 2025
  9. 𝕍𝕖𝕝𝕠𝕔𝕚𝕗𝕪𝕖𝕣Sep 24, 2025
  10. Ben KnobleSep 24, 2025
  11. Patrick SteinhardtSep 25, 2025
  12. Junio C HamanoSep 25, 2025
  13. 𝕍𝕖𝕝𝕠𝕔𝕚𝕗𝕪𝕖𝕣Sep 24, 2025
  14. Nico WilliamsSep 24, 2025
  15. 𝕍𝕖𝕝𝕠𝕔𝕚𝕗𝕪𝕖𝕣Sep 24, 2025
  16. Emily ShafferSep 24, 2025
  17. 𝕍𝕖𝕝𝕠𝕔𝕚𝕗𝕪𝕖𝕣Sep 24, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.