mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-07-17 02:07:26 +02:00
Some minor changes in Faktura and servicetool maintenance
This commit is contained in:
parent
d264925ad5
commit
7fca481632
6 changed files with 31 additions and 15 deletions
|
@ -150,7 +150,10 @@ sub get_tripsum {
|
|||
$ctpos->{end_time} =~ s/\..*$//;
|
||||
my $end_time = $ctpos->{end_time};
|
||||
$end_time =~ s/\s/T/;
|
||||
my $utc_end_time = utctime($end_time,"+300");#add 5 minutes, 300sec for latency
|
||||
#add 5 minutes, 300sec for latency
|
||||
#my $utc_end_time = utctime($end_time,"+300");
|
||||
#add 5 minutes + 2 hours end_time Ilockit workaround 2023-04-28
|
||||
my $utc_end_time = utctime($end_time,"+7500");
|
||||
$utc_end_time .= "Z";
|
||||
|
||||
my $rest = "deviceId=$ctpos->{int13}\&from=$utc_start_time\&to=$utc_end_time";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue