should have been HH12:MI, but bug is there anyway

From: Sam Hokin <sam(at)bsharp(dot)org>
To: pgsql-bugs(at)postgresql(dot)org
Subject: should have been HH12:MI, but bug is there anyway
Date: 2000-10-21 05:40:16
Message-ID: Pine.LNX.4.21.0010210036550.1106-100000@cb54085-b.mdsn1.wi.home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Sorry, I mistyped that query in my bug report, damaging its credibility,
but the bug is actually there when you use "MI" for minutes:

template1=# select to_char(timestamp '2000-01-01 13:45:00', 'HH12:MI pm');
to_char
----------
01:45 am

---------
Sam Hokin ..... mailto:sam(at)bsharp(dot)org .... http://www.bsharp.org/sam

Browse pgsql-bugs by date

  From Date Subject
Next Message Palle Girgensohn 2000-10-22 02:17:55 Re: The Data Base System is in recovery mode
Previous Message Sam Hokin 2000-10-21 05:33:16 bug in to_char(timestamp, text) for times between 12:00 and 14:00