Peter Eisentraut wrote:
> Here is a localization bug waiting to happen:
>
> static char *
> localize_month_full(int index)
> {
> char *m = NULL;
>
> switch (index)
> {
> case 4:
> m = _("May");
> break;
>
>
> static char *
> localize_month(int index)
> {
> char *m = NULL;
>
> switch (index)
> {
> case 4:
> m = _("May");
> break;
>
>
> Haven't thought of a fix yet.
Build a table/function to return short names for full month names, and
use full-length month names on localize_month?
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support