pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feedmonth abreviation
4+ messages / 3 participants
[nested] [flat]
* month abreviation
@ 2007-06-21 03:10 Jaime Casanova <systemguards@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Jaime Casanova @ 2007-06-21 03:10 UTC (permalink / raw)
To: pgsql-hackers
Hi,
I got this answer in my
version
-------------------------------------------------------------------------------------------------------------------
PostgreSQL 8.3devel on i686-pc-linux-gnu, compiled by GCC gcc (GCC)
4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
(1 row)
note the month abreviation (mons?) is this intentional?
sgerp=# select age(current_date, '1979-08-15'::date);
age
-------------------------
27 years 10 mons 5 days
(1 row)
--
Atentamente,
Jaime Casanova
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
Richard Cook
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: month abreviation
@ 2007-06-22 00:59 Euler Taveira de Oliveira <euler@timbira.com>
parent: Jaime Casanova <systemguards@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Euler Taveira de Oliveira @ 2007-06-22 00:59 UTC (permalink / raw)
To: Jaime Casanova <systemguards@gmail.com>; +Cc: pgsql-hackers
Jaime Casanova wrote:
> note the month abreviation (mons?) is this intentional?
>
This notation has been used since the code was written (~7 years ago) [1].
[1]
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/datetime.c?rev=1.42;content-t...
--
Euler Taveira de Oliveira
http://www.timbira.com/
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: month abreviation
@ 2007-06-22 06:37 Jaime Casanova <systemguards@gmail.com>
parent: Euler Taveira de Oliveira <euler@timbira.com>
0 siblings, 1 reply; 4+ messages in thread
From: Jaime Casanova @ 2007-06-22 06:37 UTC (permalink / raw)
To: Euler Taveira de Oliveira <euler@timbira.com>; +Cc: pgsql-hackers
On 6/22/07, Euler Taveira de Oliveira <euler@timbira.com> wrote:
> Jaime Casanova wrote:
>
> > note the month abreviation (mons?) is this intentional?
> >
> This notation has been used since the code was written (~7 years ago) [1].
>
> [1]
> http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/datetime.c?rev=1.42;content-t...
>
mmm... so, it had been bad for 7 years now... ;)
ok, acceptting that as an abreviattion for months, what controls that.
why u get "years", "days" and "mons", i mean, why is this one
abreviated when the other two are not
--
regards,
Jaime Casanova
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
Richard Cook
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: month abreviation
@ 2007-06-22 14:49 Bruce Momjian <bruce@momjian.us>
parent: Jaime Casanova <systemguards@gmail.com>
0 siblings, 0 replies; 4+ messages in thread
From: Bruce Momjian @ 2007-06-22 14:49 UTC (permalink / raw)
To: Jaime Casanova <systemguards@gmail.com>; +Cc: Euler Taveira de Oliveira <euler@timbira.com>; pgsql-hackers
Jaime Casanova wrote:
> On 6/22/07, Euler Taveira de Oliveira <euler@timbira.com> wrote:
> > Jaime Casanova wrote:
> >
> > > note the month abreviation (mons?) is this intentional?
> > >
> > This notation has been used since the code was written (~7 years ago) [1].
> >
> > [1]
> > http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/datetime.c?rev=1.42;content-t...
> >
>
> mmm... so, it had been bad for 7 years now... ;)
> ok, acceptting that as an abreviattion for months, what controls that.
> why u get "years", "days" and "mons", i mean, why is this one
> abreviated when the other two are not
I thought there was some standard that required that, but I don't
remember which one.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2007-06-22 14:49 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-06-21 03:10 month abreviation Jaime Casanova <systemguards@gmail.com>
2007-06-22 00:59 ` Euler Taveira de Oliveira <euler@timbira.com>
2007-06-22 06:37 ` Jaime Casanova <systemguards@gmail.com>
2007-06-22 14:49 ` Bruce Momjian <bruce@momjian.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox