pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: folarte@peoplecall.com
Subject: BUG #16169: Default time output for 24:00 is 00:00
Date: Tue, 17 Dec 2019 09:51:38 +0000
Message-ID: <16169-db6039a4786ae5d7@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16169
Logged by:          Francisco Olarte
Email address:      folarte@peoplecall.com
PostgreSQL version: 12.0
Operating system:   Documentation may need clarification.
Description:        

Following a thread in the spanish mailing list I noticed the default time
output for 24:00 is 00:00. ( checked using
http://sqlfiddle.com/#!17/9eecb/43334 ).

The output correctly follows what the manual says (
https://www.postgresql.org/docs/12/datatype-datetime.html ). Although the
doc is correct, I have not been able to find any explicit mention of this
behaviour. An explicit mention may be useful to avoid confusion, as one
normally expects to be able to reconstruct inserted data from select results
( changing behaviour may hurt existing dependencies on current one ), and
2400 may be a common value when using time fields for things like "opening
hours 16:00 - 24:00".



view thread (9+ messages)  latest in thread

Message-ID: <16169-db6039a4786ae5d7@postgresql.org>
Permalink:  ../16169-db6039a4786ae5d7@postgresql.org/
Also on:    postgresql.org/message-id/16169-db6039a4786ae5d7@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, folarte@peoplecall.com
  Subject: Re: BUG #16169: Default time output for 24:00 is 00:00
  In-Reply-To: <16169-db6039a4786ae5d7@postgresql.org>
  References: <16169-db6039a4786ae5d7@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox