Tom Lane
55c3a04d60
Fix assorted breakage in to_char()'s OF format option.
...
In HEAD, fix incorrect field width for hours part of OF when tm_gmtoff is
negative. This was introduced by commit 2d87eedc1d
as a result of
falsely applying a pattern that's correct when + signs are omitted, which
is not the case for OF.
In 9.4, fix missing abs() call that allowed a sign to be attached to the
minutes part of OF. This was fixed in 9.5 by 9b43d73b3f
, but for
inscrutable reasons not back-patched.
In all three versions, ensure that the sign of tm_gmtoff is correctly
reported even when the GMT offset is less than 1 hour.
Add regression tests, which evidently we desperately need here.
Thomas Munro and Tom Lane, per report from David Fetter
2016-03-17 15:50:33 -04:00
..
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2015-05-20 16:56:22 +03:00
2016-01-02 13:33:40 -05:00
2016-03-16 19:09:28 -04:00
2016-03-16 20:57:45 -04:00
2016-01-02 13:33:40 -05:00
2016-02-20 15:49:26 +00:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-24 12:53:03 -05:00
2016-01-02 13:33:40 -05:00
2016-03-17 15:50:33 -04:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2014-05-06 12:12:18 -04:00
2012-06-10 15:20:04 -04:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-03-15 18:06:11 -04:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-02-21 10:30:49 -05:00
2016-03-02 23:31:39 -05:00
2016-01-22 11:53:06 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-03-10 12:44:09 -05:00
2014-10-21 16:16:39 -04:00
2015-11-02 19:37:51 -05:00
2016-02-04 23:03:37 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2015-05-05 15:22:24 -03:00
2016-01-05 19:02:13 -03:00
2016-03-12 22:34:47 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-02-17 15:40:00 +05:30
2016-02-28 23:39:20 -05:00
2016-01-02 13:33:40 -05:00
2016-01-03 16:26:38 -05:00
2016-03-10 12:44:09 -05:00
2016-01-17 19:36:59 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-05 13:02:43 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-02-07 14:57:24 -05:00
2016-03-10 16:23:52 -05:00
2016-01-02 13:33:40 -05:00
2016-03-16 19:09:28 -04:00
2016-01-02 13:33:40 -05:00
2016-03-02 17:37:54 -05:00
2016-03-02 17:37:54 -05:00
2016-01-02 13:33:40 -05:00
2016-03-02 17:37:54 -05:00
2016-01-02 13:33:40 -05:00
2016-03-12 16:05:29 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-03-12 16:05:29 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-02-03 14:29:53 -05:00
2016-02-11 18:11:11 +03:00
2016-01-02 13:33:40 -05:00
2016-03-15 18:06:11 -04:00
2016-01-02 13:33:40 -05:00
2016-03-12 16:05:29 -05:00