ok, thus it is better to put Datetime::SECONDS_PER_DAY


On Fri, May 9, 2014 at 5:26 PM, l-vincent-l <notifications@github.com>wrote:

> In source/type/data.cpp:
>
> > @@ -188,7 +188,7 @@ ValidityPattern* Data::get_similar_validity_pattern(ValidityPattern* vp) const{
> >
> >  ValidityPattern* Data::get_or_create_validity_pattern(ValidityPattern* ref_validity_pattern, const uint32_t time){
> >
> > -    if(time > 24*3600) {
> > +    if(time >= 24*3600) { //Seconds in a day
>
> This is used in : ed/adapted.cpp:42
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/CanalTP/navitia/pull/331/files#r12480785>
> .
>