Re: Wrong formated date on the first day of the Daylight Saving time.

Karel Zak <zakkr@zf.jcu.cz>

From: Karel Zak <zakkr@zf.jcu.cz>
To: l_faillie@yahoo.com, pgsql-bugs@postgresql.org
Date: 2001-03-27T10:35:57Z
Lists: pgsql-bugs
On Tue, Mar 27, 2001 at 04:35:11AM -0500, pgsql-bugs@postgresql.org wrote:

> Short Description
> Wrong formated date on the first day of the Daylight Saving time.

It's common problem with this time in 7.0.x - already fixed in 7.1.

> scheduling=# select to_char( jour, '<small>Day</small><br>DD Mon YYYY'), jour from backlog where jour>'2001-03-23';
>                  to_char                 |    jour
> -----------------------------------------+------------
>  <small>Saturday </small><br>24 Mar 2001 | 2001-03-24
>  <small>Saturday </small><br>24 Mar 2001 | 2001-03-25
>  <small>Monday   </small><br>26 Mar 2001 | 2001-03-26
>  <small>Tuesday  </small><br>27 Mar 2001 | 2001-03-27
> (4 rows)


 Note: use quotation marks for non-format masks, it is faster. 
En example:

	to_char( jour, '"<small>"Day"</small><br>"DD Mon YYYY')

		Karel

-- 
 Karel Zak  <zakkr@zf.jcu.cz>
 http://home.zf.jcu.cz/~zakkr/
 
 C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz