forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd8a266c
committed
Fix bogus timetz_zone() results for DYNTZ abbreviations.
timetz_zone() delivered completely wrong answers if the zone wasspecified by a dynamic TZ abbreviation, because it failed to accountfor the difference between the POSIX conventions for field values instruct pg_tm and the conventions used in PG-specific datetime code.As a stopgap fix, just adjust the tm_year and tm_mon fields to matchPG conventions. This is fixed in a different way in HEAD (388e71a)but I don't want to back-patch the change of reference point.Discussion:https://postgr.es/m/CAJ7c6TOMG8zSNEZtCn5SPe+cCk3Lfxb71ZaQwT2F4T7PJ_t=KA@mail.gmail.com1 parent9f9ae01 commitd8a266c
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2832 | 2832 |
| |
2833 | 2833 |
| |
2834 | 2834 |
| |
| 2835 | + | |
| 2836 | + | |
2835 | 2837 |
| |
2836 | 2838 |
| |
2837 | 2839 |
| |
|
0 commit comments
Comments
(0)