Skip to content

Commit

Permalink
fix: use utc_datetime_usec in balance_as_of in installer
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Feb 24, 2025
1 parent 738bd48 commit 5d6eb68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mix/tasks/ash_double_entry.install.ex
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ if Code.ensure_loaded?(Igniter) do
calculate :balance_as_of, :money do
calculation {AshDoubleEntry.Account.Calculations.BalanceAsOf, resource: __MODULE__}
argument :timestamp, AshDoubleEntry.ULID do
argument :timestamp, :utc_datetime_usec do
allow_nil? false
allow_expr? true
default &DateTime.utc_now/0
Expand Down

0 comments on commit 5d6eb68

Please sign in to comment.