Re: ISO 8601 'Time Intervals' of the 'format with time-unit

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Ron Mayer <ron(at)intervideo(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, andrew(at)dunslane(dot)net, pgsql-patches(at)postgresql(dot)org
Subject: Re: ISO 8601 'Time Intervals' of the 'format with time-unit
Date: 2003-12-01 04:53:22
Message-ID: 200312010453.hB14rMm16663@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-general pgsql-hackers pgsql-patches


And another open issues email.

---------------------------------------------------------------------------

Ron Mayer wrote:
>
> Tom wrote:
> > Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> > > Tom Lane writes:
> > >> Yes, but by the same token "iso8601" isn't specific enough either.
>
> ISO 8601 gives more specific names.
>
> ISO 8601 Basic Format: P2Y10M15DT10H20M30S
> ISO 8601 Alternative Format: P00021015T102030
> ISO 8601 Extended Format: P0002-10-15T10:20:30
>
> In a way, the Extended Format is kinda nice, since it?s
> almost human readable.
>
> I could put in both the basic and extended ones, and
> call the dateformats ?iso8601basic? and ?iso8601extended?.
> The negative is that to do ?iso8601basic? right, I?d also
> have to tweak the ?date? and ?time? parts of the code too.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-advocacy by date

  From Date Subject
Next Message Peter Eisentraut 2003-12-01 06:20:21 Re: ISO 8601 "Time Intervals" of the "format with time-unit
Previous Message Bruce Momjian 2003-12-01 04:53:13 Re: [PATCHES] ISO 8601 "Time Intervals" of the "format with

Browse pgsql-general by date

  From Date Subject
Next Message Alex Satrapa 2003-12-01 05:15:40 Re: Pg module for Perl
Previous Message Bruce Momjian 2003-12-01 04:53:13 Re: [PATCHES] ISO 8601 "Time Intervals" of the "format with

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-12-01 04:57:06 Re: [HACKERS] Index creation takes for ever
Previous Message Bruce Momjian 2003-12-01 04:53:13 Re: [PATCHES] ISO 8601 "Time Intervals" of the "format with

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-12-01 04:55:30 Re: WIP: unique hash indexes
Previous Message Bruce Momjian 2003-12-01 04:53:13 Re: [PATCHES] ISO 8601 "Time Intervals" of the "format with