Add timezone info to new objects.

This commit is contained in:
James Cole
2024-11-06 11:12:26 +01:00
parent fb3295bde1
commit 038790a5d6
7 changed files with 21 additions and 10 deletions

View File

@@ -135,7 +135,9 @@ class BudgetLimitHandler
'user_group_id' => $budgetLimit->budget->user->user_group_id,
'transaction_currency_id' => $budgetLimit->transaction_currency_id,
'start_date' => $current,
'start_date_tz' => $current->format('e'),
'end_date' => $currentEnd,
'end_date_tz' => $currentEnd->format('e'),
'amount' => $amount,
]
);