scheduledate: Schedule downtimes relative to today by default39/539/1v3.3.0v3.3.0-beta12
commitce4e63308cfcbf82e697e006b486fa0f3e3f8f80
authorRobin Sonefors <robin.sonefors@op5.com>
Thu, 3 Apr 2014 12:45:48 +0000 (3 14:45 +0200)
committerRobin Sonefors <robin.sonefors@op5.com>
Thu, 3 Apr 2014 12:59:57 +0000 (3 14:59 +0200)
treec8d26ca4ba7c6b5a1b5eca5c8f512fa87f331216
parent42a803552686d179fee783e57ac15d178c0a0bed
scheduledate: Schedule downtimes relative to today by default

A refactoring with an overreliance on test cases with explicit, mocked
timestamps caused me to overlook that $timestamp will always be false,
ie 0, in the real world.

This fixes bug #8585. Gosh darnit, I'm sick of loose typing.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
application/models/scheduledate.php
test/unit_test/tests/recurring_downtime_Test.php