model-writtenrun 8958 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Paul Spencer reported that PGTYPEStimestamp_fmt_asc() formatted January as February with %b and could crash for December, with a similar problem affecting %B, and supplied a reproducer in #1.
- Tomas Vondra identified the mismatch between one-based month numbers and zero-based arrays and posted a patch subtracting one for the %b/%h and %B lookups in #2.
- Tom Lane independently confirmed the diagnosis and reported finding no similar mistakes elsewhere in ecpglib in #3, then deferred committing to Tomas in #4; these messages do not establish substantive review of the posted patch.
- After announcing his intention to commit in #5, Tomas landed 3ff660bbeb with the exact fix from #2 plus December regression tests and their expected output.
- Tomas confirmed that the fix had been pushed and backpatched to all supported branches in #6, noting that the bug existed since at least 2003; no further work remained open in the thread.