Skip to content

Commit

Permalink
remove redundant replace on timestamp
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Haasdyk <[email protected]>
  • Loading branch information
hahn-kev and myieye authored Sep 25, 2024
1 parent 2b954d4 commit 883bad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/LexCore/Utils/FileUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static string ToTimestamp(DateTimeOffset dateTime)
{
var timestamp = dateTime.ToUniversalTime().ToString(TimestampPattern);
// make it file-system friendly
return timestamp.Replace(':', '-');
return timestamp;
}

public static DateTimeOffset? ToDateTimeOffset(string timestamp)
Expand Down

0 comments on commit 883bad0

Please sign in to comment.