forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit599c73a
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 parent1e9afc8 commit599c73a
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3073 | 3073 |
| |
3074 | 3074 |
| |
3075 | 3075 |
| |
| 3076 | + | |
| 3077 | + | |
3076 | 3078 |
| |
3077 | 3079 |
| |
3078 | 3080 |
| |
|
0 commit comments
Comments
(0)