mirror of
				https://github.com/grocy/grocy.git
				synced 2025-10-31 10:46:36 +00:00 
			
		
		
		
	Also show due/overdue on bateries- and habitoverview
This commit is contained in:
		| @@ -26,7 +26,7 @@ class BatteriesService extends BaseService | ||||
| 		} | ||||
| 		else | ||||
| 		{ | ||||
| 			return date('Y-m-d H:i:s'); | ||||
| 			return date('2999-12-31 23:59:59'); | ||||
| 		} | ||||
|  | ||||
| 		return null; | ||||
|   | ||||
| @@ -26,7 +26,7 @@ class HabitsService extends BaseService | ||||
| 		switch($habit->period_type) | ||||
| 		{ | ||||
| 			case self::HABIT_TYPE_MANUALLY: | ||||
| 				return date('Y-m-d H:i:s'); | ||||
| 				return date('2999-12-31 23:59:59'); | ||||
| 			case self::HABIT_TYPE_DYNAMIC_REGULAR: | ||||
| 				return date('Y-m-d H:i:s', strtotime('+' . $habit->period_days . ' day', strtotime($habitLastLogRow->last_tracked_time))); | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user