Commit fc6b4b0
authored
### Rationale for this change
`Date64Array.Convert(DateTimeOffset)` substracts one day on date times that are at 00:00 am and < 1970.
For example, 01/01/1969 00:00:00 gets converted to 12/31/1968 whereas the expected result is 01/01/1969.
### What changes are included in this PR?
Fix to the described bug.
### Are these changes tested?
Yes
### Are there any user-facing changes?
No
**This PR contains a "Critical Fix".**
* GitHub Issue: #47131
Authored-by: Jeremy Costanzo <[email protected]>
Signed-off-by: Curt Hagenlocher <[email protected]>
1 parent eda392c commit fc6b4b0
File tree
2 files changed
+2
-7
lines changed- csharp
- src/Apache.Arrow/Arrays
- test/Apache.Arrow.Tests
2 files changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 68 | + | |
74 | 69 | | |
75 | 70 | | |
76 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments