- Notifications
You must be signed in to change notification settings - Fork5
Commitcd0ff9c
committed
Expand the allowed range of timezone offsets to +/-15:59:59 from Greenwich.
We used to only allow offsets less than +/-13 hours, then it was +/14,then it was +/-15. That's still not good enough though, as per today's bugreport from Patric Bechtel. This time I actually looked through the Olsontimezone database to find the largest offsets used anywhere. The winnersare Asia/Manila, at -15:56:00 until 1844, and America/Metlakatla, at+15:13:42 until 1867. So we'd better allow offsets less than +/-16 hours.Given the history, we are way overdue to have some greppable #definesymbols controlling this, so make some ... and also remove an obsoletecomment that didn't get fixed the last time.Back-patch to all supported branches.1 parent07ab138 commitcd0ff9c
File tree
3 files changed
+14
-7
lines changed- src
- backend/utils/adt
- include/datatype
3 files changed
+14
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1956 | 1956 | | |
1957 | 1957 | | |
1958 | 1958 | | |
1959 | | - | |
1960 | | - | |
1961 | | - | |
| 1959 | + | |
| 1960 | + | |
1962 | 1961 | | |
1963 | 1962 | | |
1964 | 1963 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2698 | 2698 | | |
2699 | 2699 | | |
2700 | 2700 | | |
2701 | | - | |
2702 | | - | |
2703 | | - | |
2704 | 2701 | | |
2705 | 2702 | | |
2706 | 2703 | | |
| |||
2745 | 2742 | | |
2746 | 2743 | | |
2747 | 2744 | | |
2748 | | - | |
| 2745 | + | |
| 2746 | + | |
2749 | 2747 | | |
2750 | 2748 | | |
2751 | 2749 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
108 | 118 | | |
109 | 119 | | |
110 | 120 | | |
| |||
0 commit comments
Comments
(0)