Bug 沒有日期需要用今日為日期 20250324

This commit is contained in:
allen.yan 2025-03-24 17:49:47 +08:00
parent 7ac4cea4d8
commit d2bc545c0f
2 changed files with 2 additions and 3 deletions

View File

@ -8,7 +8,7 @@ using DualScreenDemo;
namespace DBObj
{
/**
*/
public class ArtistManager
{

View File

@ -272,7 +272,6 @@ namespace DBObj
{
addedTime = DateTime.Today;
}
addedTime = DateTime.Today;
string basePathHost1 = reader["路徑 1"].ToString();
string basePathHost2 = reader["路徑 2"].ToString();
string fileName = reader["歌曲檔名"].ToString();
@ -364,7 +363,7 @@ namespace DBObj
}
catch (System.FormatException)
{
addedTime = DateTime.Now;
addedTime = DateTime.Today;
}
string basePathHost1 = reader["路徑 1"].ToString();