Skip to content

Commit

Permalink
Update UnixDateTimeConverter.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Feb 11, 2023
1 parent e6d3b31 commit cc5d9db
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Argon/Converters/UnixDateTimeConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,9 @@ public UnixDateTimeConverter() : this(false)
/// <c>false</c> to throw an exception when a date being converted to or from JSON
/// occurred before Unix epoch. The default value is <c>false</c>.
/// </param>
public UnixDateTimeConverter(bool allowPreEpoch)
{
public UnixDateTimeConverter(bool allowPreEpoch) =>
AllowPreEpoch = allowPreEpoch;
}


/// <summary>
/// Writes the JSON representation of the object.
/// </summary>
Expand Down

0 comments on commit cc5d9db

Please sign in to comment.