Loading lib/Travelynx/Controller/Profile.pm +7 −6 Original line number Diff line number Diff line Loading @@ -235,6 +235,7 @@ sub journey_details { journey_id => $journey_id, verbose => 1, with_datetime => 1, with_route_datetime => 1, with_polyline => 1, with_visibility => 1, ); Loading lib/Travelynx/Controller/Traveling.pm +22 −18 Original line number Diff line number Diff line Loading @@ -1169,7 +1169,8 @@ sub cancelled { my @journeys = $self->journeys->get( uid => $self->current_user->{id}, cancelled => 1, with_datetime => 1 with_datetime => 1, with_route_datetime => 1 ); $self->respond_to( Loading Loading @@ -1700,6 +1701,7 @@ sub journey_details { journey_id => $journey_id, verbose => 1, with_datetime => 1, with_route_datetime => 1, with_polyline => 1, with_visibility => 1, ); Loading Loading @@ -1928,6 +1930,7 @@ sub edit_journey { journey_id => $journey_id, verbose => 1, with_datetime => 1, with_route_datetime => 1, ); if ( not $journey ) { Loading Loading @@ -2033,6 +2036,7 @@ sub edit_journey { journey_id => $journey_id, verbose => 1, with_datetime => 1, with_route_datetime => 1, ); $error = $self->journeys->sanity_check($journey); } Loading lib/Travelynx/Model/Journeys.pm +7 −4 Original line number Diff line number Diff line Loading @@ -305,6 +305,7 @@ sub update { db => $db, journey_id => $journey_id, with_datetime => 1, with_route_datetime => 1, ); eval { Loading Loading @@ -656,6 +657,8 @@ sub get { $ref->{checkout} = epoch_to_dt( $ref->{checkout_ts} ); $ref->{sched_arrival} = epoch_to_dt( $ref->{sched_arr_ts} ); $ref->{rt_arrival} = epoch_to_dt( $ref->{rt_arr_ts} ); } if ( $opt{with_route_datetime} ) { for my $stop ( @{ $ref->{route} } ) { for my $k (qw(rt_arr rt_dep sched_arr sched_dep)) { if ( $stop->[2]{$k} ) { Loading Loading
lib/Travelynx/Controller/Profile.pm +7 −6 Original line number Diff line number Diff line Loading @@ -235,6 +235,7 @@ sub journey_details { journey_id => $journey_id, verbose => 1, with_datetime => 1, with_route_datetime => 1, with_polyline => 1, with_visibility => 1, ); Loading
lib/Travelynx/Controller/Traveling.pm +22 −18 Original line number Diff line number Diff line Loading @@ -1169,7 +1169,8 @@ sub cancelled { my @journeys = $self->journeys->get( uid => $self->current_user->{id}, cancelled => 1, with_datetime => 1 with_datetime => 1, with_route_datetime => 1 ); $self->respond_to( Loading Loading @@ -1700,6 +1701,7 @@ sub journey_details { journey_id => $journey_id, verbose => 1, with_datetime => 1, with_route_datetime => 1, with_polyline => 1, with_visibility => 1, ); Loading Loading @@ -1928,6 +1930,7 @@ sub edit_journey { journey_id => $journey_id, verbose => 1, with_datetime => 1, with_route_datetime => 1, ); if ( not $journey ) { Loading Loading @@ -2033,6 +2036,7 @@ sub edit_journey { journey_id => $journey_id, verbose => 1, with_datetime => 1, with_route_datetime => 1, ); $error = $self->journeys->sanity_check($journey); } Loading
lib/Travelynx/Model/Journeys.pm +7 −4 Original line number Diff line number Diff line Loading @@ -305,6 +305,7 @@ sub update { db => $db, journey_id => $journey_id, with_datetime => 1, with_route_datetime => 1, ); eval { Loading Loading @@ -656,6 +657,8 @@ sub get { $ref->{checkout} = epoch_to_dt( $ref->{checkout_ts} ); $ref->{sched_arrival} = epoch_to_dt( $ref->{sched_arr_ts} ); $ref->{rt_arrival} = epoch_to_dt( $ref->{rt_arr_ts} ); } if ( $opt{with_route_datetime} ) { for my $stop ( @{ $ref->{route} } ) { for my $k (qw(rt_arr rt_dep sched_arr sched_dep)) { if ( $stop->[2]{$k} ) { Loading