GERMAN datestyles. Ancient bug reported by Terry Lee Tucker.
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/adt/datetime.c,v 1.136 2004/12/31 22:01:21 pgsql Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/adt/datetime.c,v 1.137 2005/01/11 18:33:45 tgl Exp $
*
*-------------------------------------------------------------------------
*/
cp += strlen(cp);
}
- if (is_before && (style == USE_POSTGRES_DATES))
+ if (is_before && (style != USE_ISO_DATES))
{
strcat(cp, " ago");
cp += strlen(cp);
cp += strlen(cp);
}
- if (is_before && (style == USE_POSTGRES_DATES))
+ if (is_before && (style != USE_ISO_DATES))
{
strcat(cp, " ago");
cp += strlen(cp);