Re: ISO week dates

From: Alban Hertroys <alban(at)magproductions(dot)nl>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-general(at)postgresql(dot)org, Brendan Jurd <direvus(at)gmail(dot)com>
Subject: Re: ISO week dates
Date: 2006-11-23 08:44:14
Message-ID: 45655F5E.2020404@magproductions.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-patches

Bruce Momjian wrote:
> Peter Eisentraut wrote:
>> Brendan Jurd wrote:
>>> * add an ISO day format pattern to to_char() called 'ID', which
>>> starts at Monday = 1, and
>>> * add an ISO year field to extract() called 'isoyear'?
>> That seems reasonable. Do you volunteer?
>
> Added to TODO:
>
> * Add ISO day of week format 'ID' to to_char() where Monday = 1
> * Add an ISO year field to extract() called 'isoyear'

Just verifying, but aren't both formats ISO? In that case maybe it'd be
better to have a (per database) setting that specifies which one?

I'm sorry for any extra noise, I don't remember much of the original
discussion (yeah, I know, archives...).

--
Alban Hertroys
alban(at)magproductions(dot)nl

magproductions b.v.

T: ++31(0)534346874
F: ++31(0)534346876
M:
I: www.magproductions.nl
A: Postbus 416
7500 AK Enschede

// Integrate Your World //

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Arnaud Lesauvage 2006-11-23 09:59:57 Re: MSSQL to PostgreSQL : Encoding problem
Previous Message Luca Ferrari 2006-11-23 07:53:28 log database changes - a design problem?

Browse pgsql-patches by date

  From Date Subject
Next Message Brendan Jurd 2006-11-23 12:08:47 Re: ISO week dates
Previous Message Greg Smith 2006-11-23 06:30:24 Direct I/O issues