Re: ISO 8601 'Time Intervals' of the 'format with time-unit - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: ISO 8601 'Time Intervals' of the 'format with time-unit
Date
Msg-id 200309262249.h8QMn8M12759@candle.pha.pa.us
Whole thread Raw
In response to Re: ISO 8601 'Time Intervals' of the 'format with time-unit deignators'  ("Ron Mayer" <ron@intervideo.com>)
Responses Re: ISO 8601 'Time Intervals' of the 'format with time-unit deignators'  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Where did we leave this?

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

Ron Mayer wrote:
>
> Tom wrote:
> > Peter Eisentraut <peter_e@gmx.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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: pretty print for check constraints broken
Next
From: Tom Lane
Date:
Subject: Re: ISO 8601 'Time Intervals' of the 'format with time-unit deignators'