Commit a6886b2
committed
Fix exception in conversion from DateTime[Offset] to Timestamp. #296
If the date time is before Unix epoc and it has subsecond value,
internal divrem operation returns negative remains and it causes exception.
This commit add adjustment for this situation.1 parent d006556 commit a6886b2
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
136 | 144 | | |
137 | 145 | | |
138 | 146 | | |
| |||
0 commit comments