mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
fix #1443
This commit is contained in:
@@ -21,7 +21,15 @@ internal abstract class Wish
|
||||
|
||||
public string TimeSpanFormatted
|
||||
{
|
||||
get => $"{From:yyyy.MM.dd} - {To:yyyy.MM.dd}";
|
||||
get
|
||||
{
|
||||
if (From == DateTimeOffset.MaxValue && To == DateTimeOffset.MinValue)
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
return $"{From:yyyy.MM.dd} - {To:yyyy.MM.dd}";
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user