diff options
Diffstat (limited to 'lib')
| -rwxr-xr-x | lib/Travelynx.pm | 1 | ||||
| -rwxr-xr-x | lib/Travelynx/Controller/Traveling.pm | 1 | ||||
| -rw-r--r-- | lib/Travelynx/Helper/MOTIS.pm | 3 | 
3 files changed, 5 insertions, 0 deletions
| diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index b36c633..a06bcea 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -287,6 +287,7 @@ sub startup {  				user_agent => $self->ua,  				root_url   => $self->base_url_for('/')->to_abs,  				version    => $self->app->config->{version}, +				time_zone  => 'Europe/Berlin',  			);  		}  	); diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm index 8e22852..b12c281 100755 --- a/lib/Travelynx/Controller/Traveling.pm +++ b/lib/Travelynx/Controller/Traveling.pm @@ -730,6 +730,7 @@ sub geolocation {  		Travel::Status::MOTIS->new_p(  			promise    => 'Mojo::Promise',  			user_agent => $self->ua, +			time_zone  => 'Europe/Berlin',  			service             => $motis_service,  			stops_by_coordinate => { diff --git a/lib/Travelynx/Helper/MOTIS.pm b/lib/Travelynx/Helper/MOTIS.pm index d4e1777..df79385 100644 --- a/lib/Travelynx/Helper/MOTIS.pm +++ b/lib/Travelynx/Helper/MOTIS.pm @@ -53,6 +53,7 @@ sub get_station_by_query_p {  		cache       => $self->{cache},  		promise     => 'Mojo::Promise',  		user_agent  => Mojo::UserAgent->new, +		time_zone   => 'Europe/Berlin',  		lwp_options => {  			timeout => 10,  			agent   => $self->{header}{'User-Agent'}, @@ -101,6 +102,7 @@ sub get_departures_p {  		cache       => $self->{cache},  		promise     => 'Mojo::Promise',  		user_agent  => Mojo::UserAgent->new, +		time_zone   => 'Europe/Berlin',  		lwp_options => {  			timeout => 10,  			agent   => $self->{header}{'User-Agent'}, @@ -125,6 +127,7 @@ sub get_trip_p {  		cache         => $self->{realtime_cache},  		promise       => 'Mojo::Promise',  		user_agent    => Mojo::UserAgent->new, +		time_zone     => 'Europe/Berlin',  		service => $opt{service},  		trip_id => $opt{trip_id}, | 
