mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
Always show "Track date only" shore execution times without the time part
This commit is contained in:
@@ -19,7 +19,8 @@ SELECT
|
||||
WHEN period_config LIKE '%saturday%' THEN DATETIME(IFNULL(MAX(l.tracked_time), DATETIME('now', 'localtime')), '1 days', 'weekday 6')
|
||||
END
|
||||
WHEN 'monthly' THEN DATETIME(IFNULL(MAX(l.tracked_time), DATETIME('now', 'localtime')), '+1 month', 'start of month', '+' || CAST(h.period_days - 1 AS TEXT) || ' day')
|
||||
END AS next_estimated_execution_time
|
||||
END AS next_estimated_execution_time,
|
||||
h.track_date_only
|
||||
FROM chores h
|
||||
LEFT JOIN chores_log l
|
||||
ON h.id = l.chore_id
|
||||
|
Reference in New Issue
Block a user