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-09-26 22:49:08
Message-ID: 200309262249.h8QMn8M12759@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-general pgsql-hackers pgsql-patches


Where did we leave this?

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

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

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Tom Lane 2003-09-26 22:54:09 Re: ISO 8601 'Time Intervals' of the 'format with time-unit deignators'
Previous Message Josh Berkus 2003-09-26 21:29:46 Welcome Volunteer "Officers"

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2003-09-26 22:52:12 Re: German translation of PostgreSQL documentation
Previous Message Peter Eisentraut 2003-09-26 22:48:18 Re: Escape sequence for unicode characters

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-09-26 22:53:06 Re: [HACKERS] plpgsql doesn't coerce boolean expressions to boolean
Previous Message Bruce Momjian 2003-09-26 22:47:47 Re: [HACKERS] plpgsql doesn't coerce boolean expressions to boolean

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-09-26 22:54:09 Re: ISO 8601 'Time Intervals' of the 'format with time-unit deignators'
Previous Message Tom Lane 2003-09-26 22:08:12 Re: pgsql-server/src/backend catalog/index.c comma ...