Fix for #1094

Timerange fix
for the sake of clarity I would write this as : `y = timedelta(seconds=y)`. I also wonder if we could use Astropy time here to enable the parsing of units in the timedelta?