Skip to content
GitLab
Explore
Sign in
derf
travelynx
Compare revisions
ce6250d4f30658125a8d56d41fbe911c2492b485 to 2ff5f92bcc7b4106a675e2bd01da73f8150dae5f
Commits on Source (2)
update cpanfile.snapshot
· 116870a9
Birte Kristina Friesel
authored
Apr 16, 2024
116870a9
Store HAFAS checkins with type/train/line number at checkin station
· 2ff5f92b
Birte Kristina Friesel
authored
Apr 16, 2024
2ff5f92b
Hide whitespace changes
Inline
Side-by-side
cpanfile.snapshot
View file @
2ff5f92b
...
...
@@ -560,15 +560,15 @@ DISTRIBUTIONS
parent 0
strict 0
warnings 0
DateTime-Locale-1.4
0
pathname: D/DR/DROLSKY/DateTime-Locale-1.4
0
.tar.gz
DateTime-Locale-1.4
1
pathname: D/DR/DROLSKY/DateTime-Locale-1.4
1
.tar.gz
provides:
DateTime::Locale 1.4
0
DateTime::Locale::Base 1.4
0
DateTime::Locale::Catalog 1.4
0
DateTime::Locale::Data 1.4
0
DateTime::Locale::FromData 1.4
0
DateTime::Locale::Util 1.4
0
DateTime::Locale 1.4
1
DateTime::Locale::Base 1.4
1
DateTime::Locale::Catalog 1.4
1
DateTime::Locale::Data 1.4
1
DateTime::Locale::FromData 1.4
1
DateTime::Locale::Util 1.4
1
requirements:
Carp 0
Dist::CheckConflicts 0.02
...
...
@@ -2551,18 +2551,18 @@ DISTRIBUTIONS
Test::Pod 0
Travel::Status::DE::IRIS 1.2
perl v5.20.0
Travel-Status-DE-DeutscheBahn-6.0
0
pathname: D/DE/DERF/Travel-Status-DE-DeutscheBahn-6.0
0
.tar.gz
provides:
Travel::Status::DE::DeutscheBahn 6.0
0
Travel::Status::DE::HAFAS 6.0
0
Travel::Status::DE::HAFAS::Journey 6.0
0
Travel::Status::DE::HAFAS::Location 6.0
0
Travel::Status::DE::HAFAS::Message 6.0
0
Travel::Status::DE::HAFAS::Polyline 6.0
0
Travel::Status::DE::HAFAS::Product 6.0
0
Travel::Status::DE::HAFAS::Stop 6.0
0
Travel::Status::DE::HAFAS::StopFinder 6.0
0
Travel-Status-DE-DeutscheBahn-6.0
3
pathname: D/DE/DERF/Travel-Status-DE-DeutscheBahn-6.0
3
.tar.gz
provides:
Travel::Status::DE::DeutscheBahn 6.0
3
Travel::Status::DE::HAFAS 6.0
3
Travel::Status::DE::HAFAS::Journey 6.0
3
Travel::Status::DE::HAFAS::Location 6.0
3
Travel::Status::DE::HAFAS::Message 6.0
3
Travel::Status::DE::HAFAS::Polyline 6.0
3
Travel::Status::DE::HAFAS::Product 6.0
3
Travel::Status::DE::HAFAS::Stop 6.0
3
Travel::Status::DE::HAFAS::StopFinder 6.0
3
requirements:
Carp 0
Class::Accessor 0.16
...
...
lib/Travelynx/Model/InTransit.pm
View file @
2ff5f92b
...
...
@@ -122,6 +122,8 @@ sub add {
}
elsif
(
$journey
and
$stop
)
{
my
@route
;
my
$product
=
$journey
->
product_at
(
$stop
->
loc
->
eva
)
//
$journey
->
product
;
for
my
$j_stop
(
$journey
->
route
)
{
push
(
@route
,
...
...
@@ -153,9 +155,9 @@ sub add {
checkin_station_id
=>
$stop
->
loc
->
eva
,
checkin_time
=>
DateTime
->
now
(
time_zone
=>
'
Europe/Berlin
'
),
dep_platform
=>
$stop
->
{
platform
},
train_type
=>
$
journey
->
type
//
q{}
,
train_line
=>
$
journey
->
line_no
,
train_no
=>
$
journey
->
number
//
q{}
,
train_type
=>
$
product
->
type
//
q{}
,
train_line
=>
$
product
->
line_no
,
train_no
=>
$
product
->
number
//
q{}
,
train_id
=>
$journey
->
id
,
sched_departure
=>
$stop
->
{
sched_dep
},
real_departure
=>
$stop
->
{
rt_dep
}
//
$stop
->
{
sched_dep
},
...
...