Skip to content

Commit 3d078ab

Browse files
committed
Update TimestampHelper.cs
1 parent c7db94e commit 3d078ab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Source/NETworkManager.Utilities/TimestampHelper.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@ public static bool IsTimestampedFilename(string fileName)
4444
/// Extracts the timestamp from a filename that starts with a timestamp prefix.
4545
/// </summary>
4646
/// <remarks>Filenames are expected to start with yyyyMMddHHmmss_* format (14 characters).
47-
/// This method extracts the timestamp portion and parses it as a DateTime.
48-
/// If the timestamp cannot be parsed, DateTime.MinValue is returned.</remarks>
47+
/// This method extracts the timestamp portion and parses it as a DateTime.</remarks>
4948
/// <param name="fileName">The full path to the file or just the filename.</param>
50-
/// <returns>The timestamp extracted from the filename, or DateTime.MinValue if parsing fails.</returns>
49+
/// <returns>The timestamp extracted from the filename.</returns>
5150
public static DateTime ExtractTimestampFromFilename(string fileName)
5251
{
5352
// Extract the timestamp prefix (yyyyMMddHHmmss format, 14 characters)

0 commit comments

Comments
 (0)