| From: | David Fetter <david(at)fetter(dot)org> |
|---|---|
| To: | PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org> |
| Subject: | to_char(OF) is broken |
| Date: | 2016-03-16 14:02:38 |
| Message-ID: | 20160316140238.GA9113@fetter.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Folks,
In to_char(), the new-in-9.4 'OF' feature is straight-up broken, to
wit:
set timezone to 'America/Caracas'; select to_char(now(), 'OF');
SET
to_char
─────────
-04:-30
^OK ^NOT OK
Interestingly, in git master as of yesterday, it's broken in an
entirely different way:
set timezone to 'America/Caracas'; select to_char(now(), 'OF');
SET
to_char
─────────
-004:30
^ What's this extra zero doing here?
(1 row)
Fractional offset time zones should probably be in our regression test
suite for this feature.
Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
| From | Date | Subject | |
|---|---|---|---|
| Next Message | jan.kort | 2016-03-16 15:08:11 | BUG #14025: Unable to validate constraints |
| Previous Message | amr.fadly | 2016-03-16 13:56:57 | BUG #14024: problem in Creating pivot table |