Skip site navigation (1) Skip section navigation (2)

to_char's ISO week

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>, pgsql-patches <pgsql-patches(at)postgreSQL(dot)org>
Subject: to_char's ISO week
Date: 2000-08-07 08:55:57
Message-ID: Pine.LNX.3.96.1000807102704.9168B-101000@ara.zf.jcu.cz (view raw or flat)
Thread:
Lists: pgsql-patches
 * to_char:
  
  - full support for IW (ISO week) and vice versa conversion for IW too
    (the to_char 'week' support is now complete and I hope correct).	

  Thomas, I use for IW code from timestamp.c, for this I create separate
  function date2isoweek() from original 'case DTK_WEEK:' code in the 
  timestamp_part(). I mean will better use one code for same feature in 
  date_part() and in to_char(). The isoweek2date() is added to timestamp.c 
  too. Right?

  IMHO in 7.1 will all to_char's features complete. It is cca 41 templates 
  for date/time and cca 21 for numbers.

 * to_ascii:
 
   - gcc, is it correct now? :-)


  In the patch is documentation for to_char's IW and for to_ascii().

							Karel

Attachment: to_char-08072000.patch.gz
Description: application/x-gzip (3.9 KB)

Responses

pgsql-patches by date

Next:From: Karel ZakDate: 2000-08-08 07:55:34
Subject: Re: to_char's ISO week
Previous:From: Bruce MomjianDate: 2000-08-05 15:52:03
Subject: Re: to_ascii()

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group