summaryrefslogtreecommitdiff
path: root/tests/BaseTestCase.php
diff options
context:
space:
mode:
authorRobert Bruce Park <r@robru.ca>2013-11-15 10:35:04 -0800
committerRobert Bruce Park <r@robru.ca>2013-11-15 10:35:04 -0800
commit9b9a564447cc6bf1aa99b65e57c3ecafefe9aca4 (patch)
tree497fa401c8311e1c8021ed28eb1f7ec8de879590 /tests/BaseTestCase.php
parentae7998025a80d1119361d5b0a948063856bc380d (diff)
More robust date handling.
Previously the date handling expiry logic had a bug where if you had backups that were a year apart to the day, it wouldn't notice the difference in year and only notice that the month was the same, and expire the older one (eg, if you had a backup on 2012-04-01 and another on 2013-04-01, it'd delete the one from 2012. This commit makes it compare the full date string instead of just the month, so that it more robustly keeps older backups.
Diffstat (limited to 'tests/BaseTestCase.php')
0 files changed, 0 insertions, 0 deletions