formatting.c cleanup: Change TmFromChar.clock field to bool

Peter Eisentraut <peter@eisentraut.org>

Commit: ce5f6817e4d572300f303a797f4f42820ead0044
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2025-10-31T07:06:46Z
formatting.c cleanup: Change TmFromChar.clock field to bool

This makes the purpose clearer and avoids having two extra symbols,
one of which (CLOCK_24_HOUR) was unused.

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/6dd9d208-a3ed-49b5-b03d-8617261da973%40eisentraut.org

Files

PathChange+/−
src/backend/utils/adt/formatting.c modified +6 −9

Discussion