Describe the bug
If the time in SENT header uses . instead of : in time part of the value, the conversion fails, returning DateTime.Min to .Headers.SentDate
To Reproduce
Call Rfc2822DateTime.StringToDate("Sun, 19 May 2024 15.59.09 +0200")
Expected behavior
A DateTime object with value <> DateTime.Min
Desktop (please complete the following information):
OS: Windows 11 23H2
Net Standard 2.0
Additional context
It would propably require a replacement of . to : as DateTime parsing will fail with .
Describe the bug If the time in SENT header uses
.
instead of:
in time part of the value, the conversion fails, returning DateTime.Min to .Headers.SentDateTo Reproduce Call
Rfc2822DateTime.StringToDate("Sun, 19 May 2024 15.59.09 +0200")
Expected behavior A DateTime object with value <> DateTime.Min
Desktop (please complete the following information):
Additional context It would propably require a replacement of
.
to:
as DateTime parsing will fail with.