| 1 | Tue Dec 29 11:07:03 NZDT 2009 Daniel McAllansmith <dm.maillists@gmail.com> |
|---|
| 2 | * Support timezone offsets up to +1400. |
|---|
| 3 | Many places have timezone offsets greater than the previously allowed maximum |
|---|
| 4 | of +1200, especially when in DST. |
|---|
| 5 | Parts of Kiribati are +1400. |
|---|
| 6 | |
|---|
| 7 | New patches: |
|---|
| 8 | |
|---|
| 9 | [Support timezone offsets up to +1400. |
|---|
| 10 | Daniel McAllansmith <dm.maillists@gmail.com>**20091228220703 |
|---|
| 11 | Ignore-this: 3466c0630ce4f4adbb63347ce5d3d5fe |
|---|
| 12 | Many places have timezone offsets greater than the previously allowed maximum |
|---|
| 13 | of +1200, especially when in DST. |
|---|
| 14 | Parts of Kiribati are +1400. |
|---|
| 15 | ] { |
|---|
| 16 | hunk ./System/Time.hsc 187 |
|---|
| 17 | sec 0 .. 61 [Allows for two leap seconds] |
|---|
| 18 | picosec 0 .. (10^12)-1 [This could be over-precise?] |
|---|
| 19 | yday 0 .. 365 [364 in non-Leap years] |
|---|
| 20 | -tz -43200 .. 43200 [Variation from UTC in seconds] |
|---|
| 21 | +tz -43200 .. 50400 [Variation from UTC in seconds] |
|---|
| 22 | \end{verbatim} |
|---|
| 23 | -} |
|---|
| 24 | |
|---|
| 25 | hunk ./System/Time.hsc 544 |
|---|
| 26 | |
|---|
| 27 | if psec < 0 || psec > 999999999999 then |
|---|
| 28 | error "Time.toClockTime: picoseconds out of range" |
|---|
| 29 | - else if tz < -43200 || tz > 43200 then |
|---|
| 30 | + else if tz < -43200 || tz > 50400 then |
|---|
| 31 | error "Time.toClockTime: timezone offset out of range" |
|---|
| 32 | else |
|---|
| 33 | unsafePerformIO $ do |
|---|
| 34 | } |
|---|
| 35 | |
|---|
| 36 | Context: |
|---|
| 37 | |
|---|
| 38 | [Bump version to 1.0.0.3 |
|---|
| 39 | Ian Lynagh <igloo@earth.li>**20090920141942] |
|---|
| 40 | [Add more C wrappers for NetBSD |
|---|
| 41 | Simon Marlow <marlowsd@gmail.com>**20090908103330 |
|---|
| 42 | Ignore-this: cbc01eaee04cec602bc16b825b92a3a7 |
|---|
| 43 | Contributed-by: Krister Walfridsson <krister.walfridsson@gmail.com> |
|---|
| 44 | ] |
|---|
| 45 | [Fix "Cabal check" warnings |
|---|
| 46 | Ian Lynagh <igloo@earth.li>**20090811215917] |
|---|
| 47 | [TAG 2009-06-25 |
|---|
| 48 | Ian Lynagh <igloo@earth.li>**20090625160313] |
|---|
| 49 | Patch bundle hash: |
|---|
| 50 | bce9c0c88ada65d1036a19589d4df6b1f1fdbd11 |
|---|