Skip to content

Commit

Permalink
Fix. Expiry Date Time Parsing Error (#163)
Browse files Browse the repository at this point in the history
* Fix. Expiry time parsing error
  • Loading branch information
SanoferSameera authored Jan 10, 2024
1 parent 8603140 commit 9847954
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/In.ProjectEKA.HipService/DataFlow/DataFlow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ private bool IsExpired(string expiryDate)
"yyyy-MM-dd'T'HH:mm:ss", "dd/MM/yyyy", "dd/MM/yyyy hh:mm:ss", "dd/MM/yyyy hh:mm:ss tt",
"dd/MM/yyyyTHH:mm:ss.fffzzz",
"yyyy-MM-dd'T'HH:mm:ss.ffffff",
"yyyy-MM-dd'T'HH:mm:ss.fff'Z'"
"yyyy-MM-dd'T'HH:mm:ss.fff'Z'",
"yyyy-MM-ddTHH:mm:ss.fffffffZ"
};
var tryParseExact = DateTime.TryParseExact(expiryDate,
formatStrings,
Expand Down

0 comments on commit 9847954

Please sign in to comment.