Fix datetime bug with timespan using spaces instead of zeros

This commit is contained in:
2025-11-25 23:22:55 -06:00
parent e7ac022dc0
commit c588cd7451
2 changed files with 9 additions and 6 deletions

View File

@@ -135,5 +135,8 @@ namespace Tesses::Framework::Date
{
return dt.ToEpoch() - dt2.ToEpoch();
}
inline TimeSpan operator-(const TimeSpan& ts, const TimeSpan& ts2)
{
return ts.TotalSeconds() - ts2.TotalSeconds();
}
};