[IMP] base/ir/ir_sequence : New subsequences for date ranges and convert to new api

you should convert those 2 dates date_from and date_to into the server format, because you perform some comparison afterwards with date that are read from the server, so they must both use the same format