Skip to content

Commit

Permalink
#FOIMOD-3469 handinling MSG one off SENT date scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
abin-aot committed Sep 20, 2024
1 parent b0573c0 commit 34c9f8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions MCS.FOI.S3FileConversion/MCS.FOI.MSGToPDF/MSGFileProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,10 @@ private string GenerateHtmlfromMsg(Storage.Message msg)
<td>" + msg.Subject + "</td></tr>");

DateTime sentDate = Convert.ToDateTime(msg.SentOn);
if(sentDate == DateTime.MinValue)
{
sentDate = Convert.ToDateTime(msg.CreationTime);
}
if (TimeZone.CurrentTimeZone.StandardName != "Pacific Standard Time")
{

Expand Down

0 comments on commit 34c9f8d

Please sign in to comment.