Fix ancient bug in handling of to_char modifier 'TH', when used with HH.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 455658ada3983e14ddab68f1aa16599d7686ebc2
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2009-07-06T19:12:12Z
Releases: 8.0.22
Fix ancient bug in handling of to_char modifier 'TH', when used with HH.
In what seems like an oversight, we used to treat 'TH' the same as lowercase
'th', but only with HH/HH12.

Files

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