Commit 8caedc3
committed
Fix behavior for
The previous behavior was ambiguous, as it was unclear whether the
provided offset was the one being assumed and being converting to UTC or
vice versa.
This ambiguity extended to within the code, so there were some bugs
where the behavior was backwards. These have been fixed, as it's now
clearly documented that the datetime stored in the struct is the UTC
representation, not local.OffsetDateTime
1 parent fd6050a commit 8caedc3
3 files changed
+91
-58
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments