derp
This commit is contained in:
parent
e97c943154
commit
a2d08bca26
1 changed files with 2 additions and 2 deletions
|
@ -2527,7 +2527,7 @@ sub startup {
|
||||||
# each stop to be the same -> ensure that it is not converted
|
# each stop to be the same -> ensure that it is not converted
|
||||||
# to DateTime twice.
|
# to DateTime twice.
|
||||||
if ( $times->{sched_arr}
|
if ( $times->{sched_arr}
|
||||||
and ref( $times->{sched_arr} ) != 'DateTime' )
|
and ref( $times->{sched_arr} ) ne 'DateTime' )
|
||||||
{
|
{
|
||||||
$times->{sched_arr}
|
$times->{sched_arr}
|
||||||
= epoch_to_dt( $times->{sched_arr} );
|
= epoch_to_dt( $times->{sched_arr} );
|
||||||
|
@ -2542,7 +2542,7 @@ sub startup {
|
||||||
= $times->{rt_arr}->epoch - $epoch;
|
= $times->{rt_arr}->epoch - $epoch;
|
||||||
}
|
}
|
||||||
if ( $times->{sched_dep}
|
if ( $times->{sched_dep}
|
||||||
and ref( $times->{sched_dep} ) != 'DateTime' )
|
and ref( $times->{sched_dep} ) ne 'DateTime' )
|
||||||
{
|
{
|
||||||
$times->{sched_dep}
|
$times->{sched_dep}
|
||||||
= epoch_to_dt( $times->{sched_dep} );
|
= epoch_to_dt( $times->{sched_dep} );
|
||||||
|
|
Loading…
Reference in a new issue