Skip to content

Commit 7092fa6

Browse files
authored
Apply suggestion from @niemyjski
1 parent c5df54f commit 7092fa6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Exceptionless.DateTimeExtensions/TimeUnit.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ public static bool TryParse(string value, out TimeSpan? time)
3434
string normalized = value.Trim();
3535

3636
// bail if we have any weird characters
37-
foreach (char c in normalized)
37+
// bail if we have any weird characters
38+
foreach (char c in normalized)
3839
if (!Char.IsLetterOrDigit(c) && c != '-' && c != '+' && !Char.IsWhiteSpace(c))
3940
return null;
4041

0 commit comments

Comments
 (0)