We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33fb45c commit 4d12c1dCopy full SHA for 4d12c1d
src/GitVersion.Configuration/IgnoreConfiguration.cs
@@ -13,8 +13,7 @@ internal record IgnoreConfiguration : IIgnoreConfiguration
13
public string? BeforeString
14
{
15
get => Before?.ToString("yyyy-MM-ddTHH:mm:ssZ");
16
- // if TryParse returns false, Before = null and the parse error is suppressed. How should the user be informed of parse errors?
17
- init => Before = value is null ? null : DateTimeOffset.TryParse(value, out DateTimeOffset dto) ? dto : null;
+ init => Before = value is null ? null : DateTimeOffset.Parse(value);
18
}
19
20
[JsonIgnore]
0 commit comments