mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-15 11:22:18 +08:00
STY: Put 0 at the end. (#1569)
This commit is contained in:
committed by
John Ricklefs
parent
5ecb5c3754
commit
2536ad29c3
@@ -708,7 +708,7 @@ class DataPortal(object):
|
||||
days_for_window,
|
||||
end_dt,
|
||||
field_to_use):
|
||||
ends_at_midnight = (0 == end_dt.hour == end_dt.minute)
|
||||
ends_at_midnight = (end_dt.hour == end_dt.minute == 0)
|
||||
|
||||
if ends_at_midnight:
|
||||
# two cases where we use daily data for the whole range:
|
||||
|
||||
Reference in New Issue
Block a user