mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Date default should be null
This commit is contained in:
@@ -17,6 +17,10 @@ namespace SabreTools.Library.Tools
|
||||
/// <returns>Date as a string, if possible</returns>
|
||||
public static string CleanDate(string input)
|
||||
{
|
||||
// Null in, null out
|
||||
if (input == null)
|
||||
return null;
|
||||
|
||||
string date = string.Empty;
|
||||
if (input != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user