[fedocal] master: Change back the get_by_time functions as it was and add a at_time function (a88f19e)