pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael <michaelzg@users.noreply.github.com>
To: pgsql-jdbc@postgresql.org
Subject: [pgjdbc/pgjdbc] d28def: fix: trim trailing zeros in timestamp strings retu...
Date: Wed, 25 Oct 2017 05:43:47 -0700
Message-ID: <59f087034276b_38ad3fca69ef9c3c1485ad@hookshot-fe5-cp1-prd.iad.github.net.mail> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: d28deff57684349707d2b2a357048f59b0861bb1
      https://github.com/pgjdbc/pgjdbc/commit/d28deff57684349707d2b2a357048f59b0861bb1
  Author: Michael <michaelzg@users.noreply.github.com>
  Date:   2017-10-25 (Wed, 25 Oct 2017)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/jdbc/TimestampUtils.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/TimestampTest.java

  Log Message:
  -----------
  fix: trim trailing zeros in timestamp strings returned in binary mode (#896)

This commit trims trailing zeros from the fractional seconds in timestamp strings returned under binary mode, where the fractional seconds used to be zero padded to 6 digits. This provides consistency in the returned timestamp strings under both forced and regular binary modes.

fixes #885



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



Message-ID: <59f087034276b_38ad3fca69ef9c3c1485ad@hookshot-fe5-cp1-prd.iad.github.net.mail>
Permalink:  ../59f087034276b_38ad3fca69ef9c3c1485ad@hookshot-fe5-cp1-prd.iad.github.net.mail/
Also on:    postgresql.org/message-id/59f087034276b_38ad3fca69ef9c3c1485ad@hookshot-fe5-cp1-prd.iad.github.net.mail

 · 

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-jdbc@postgresql.org
  Cc: michaelzg@users.noreply.github.com
  Subject: Re: [pgjdbc/pgjdbc] d28def: fix: trim trailing zeros in timestamp strings retu...
  In-Reply-To: <59f087034276b_38ad3fca69ef9c3c1485ad@hookshot-fe5-cp1-prd.iad.github.net.mail>
  References: <59f087034276b_38ad3fca69ef9c3c1485ad@hookshot-fe5-cp1-prd.iad.github.net.mail>

* 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