Skip to content

Commit a8277b4

Browse files
committed
Inline variable cleanup
1 parent d7a70b9 commit a8277b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Exceptionless.DateTimeExtensions/FormatParsers/FormatParsers/PartParsers/ExplicitDatePartParser.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ public class ExplicitDatePartParser : IPartParser {
1414
if (value.Length == 16)
1515
value += ":00";
1616

17-
DateTimeOffset date;
18-
if (!DateTimeOffset.TryParse(value, out date))
17+
if (!DateTimeOffset.TryParse(value, out var date))
1918
return null;
2019

2120
date = date.ChangeOffset(relativeBaseTime.Offset);

0 commit comments

Comments
 (0)