Bug TW-1295

- TW-1295 test/time.t fails on the last day of the month (thanks to Jakub
          Wilk).