ido: Implement support for timeranges.