Fix recurring transactions calculator for after-the-fact updates
This commit is contained in:
parent
ccdbff42e6
commit
25b6b3a9a4
1 changed files with 9 additions and 10 deletions
|
@ -87,11 +87,10 @@ sub run {
|
|||
return;
|
||||
}
|
||||
|
||||
my $now = DateTime->now();
|
||||
my $purchase_time = DateTime->new(
|
||||
year => $now->year,
|
||||
month => $now->month,
|
||||
day => $now->day,
|
||||
year => $datetime->year,
|
||||
month => $datetime->month,
|
||||
day => $datetime->day,
|
||||
hour => $start_time_dt->hour,
|
||||
minute => $start_time_dt->minute,
|
||||
second => $start_time_dt->second,
|
||||
|
|
Reference in a new issue