mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-20 05:50:36 +00:00
feat: have timerange have a default display way
This commit is contained in:
@@ -80,6 +80,9 @@ class TimeRange:
|
||||
val = stopdt.strftime(DATETIME_PRINT_FORMAT)
|
||||
return val
|
||||
|
||||
def __repr__(self) -> str:
|
||||
return f"TimeRange({self.timerange_str})"
|
||||
|
||||
def __eq__(self, other):
|
||||
"""Override the default Equals behavior"""
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user