Skip to content

Commit

Permalink
Fix ToFileFormatString (colon : is invalid character ofc)
Browse files Browse the repository at this point in the history
  • Loading branch information
grandsilence committed Jul 19, 2018
1 parent 773e998 commit eca4820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Leaf.Core/Extensions/System/DateTimeExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static DateTime FirstJanuary1970
/// </summary>
public static string ToFileFormatString(this DateTime self)
{
return self.ToString("yyyy-MM-dd__HH:mm:ss", CultureInfo.InvariantCulture);
return self.ToString("yyyy-MM-dd__HH-mm-ss", CultureInfo.InvariantCulture);
}
}
}

0 comments on commit eca4820

Please sign in to comment.