Thread: ECPG timestamp.c

ECPG timestamp.c

From
Rod Taylor
Date:
src/interfaces/ecpg/pgtypeslib/timestamp.c has started throwing
warnings:

timestamp.c: In function `dttofmtasc_replace':
timestamp.c:468: warning: `%g' yields only last 2 digits of year
timestamp.c:606: warning: `%x' yields only last 2 digits of year in some
locales on non-BSD systems

Not overly important, but worth while noting.
--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

Re: ECPG timestamp.c

From
Michael Meskes
Date:
On Thu, May 01, 2003 at 10:20:34PM -0400, Rod Taylor wrote:
> src/interfaces/ecpg/pgtypeslib/timestamp.c has started throwing
> warnings:
> 
> timestamp.c: In function `dttofmtasc_replace':
> timestamp.c:468: warning: `%g' yields only last 2 digits of year
> timestamp.c:606: warning: `%x' yields only last 2 digits of year in some
> locales on non-BSD systems

Anyone with an idea on how to stop these warnings? Depending on the
parameter the function dttofmtasc_replace is supposed to use just the
last 2 digits.

Michael

-- 
Michael Meskes
Email: Michael@Fam-Meskes.De
ICQ: 179140304, AIM: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!