[BUG]: DateTimeOffsetConverter uses 32-bit integer instead of 64-bit #590
Labels
Status: Triage
This is being looked at and prioritized
Type: Bug
Something isn't working as documented
What happened?
When converting numbers to
DateTimeOffset
instances, a 32-bit integer (int) is used:webhooks.net/src/Octokit.Webhooks/Converter/DateTimeOffsetConverter.cs
Line 28 in 6f68314
The
DateTimeOffset.FromUnixTimeSeconds()
method accepts along
rather than anint
, which means two things:19/01/2038 03:14:07 +00:00
.I just happened to notice this while reviewing something in the code.
Versions
All
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: