diff --git a/BeefLibs/corlib/src/TimeSpan.bf b/BeefLibs/corlib/src/TimeSpan.bf index fb92c0c4..34bb6b92 100644 --- a/BeefLibs/corlib/src/TimeSpan.bf +++ b/BeefLibs/corlib/src/TimeSpan.bf @@ -196,5 +196,7 @@ namespace System { TimeSpanFormat.[Friend]Format(this, format, formatProvider, outStr); } + + public static TimeSpan operator-(Self lhs, Self rhs) => .((int64)lhs - (int64)rhs); } }