From bc3d5b7f4f54d88a2ebf1cadbcd7e2816f07deaa Mon Sep 17 00:00:00 2001 From: Jordan Bracco Date: Sun, 11 Dec 2022 19:07:09 +0000 Subject: Fix the fixes. --- lib/util.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/util.ex') diff --git a/lib/util.ex b/lib/util.ex index ce46174..8bd3b9d 100644 --- a/lib/util.ex +++ b/lib/util.ex @@ -11,7 +11,7 @@ defmodule Util do def to_date_time(naive_or_timestamp, timezone \\ "Europe/Paris") def to_date_time(date = %DateTime{}, timezone) do - DateTime.shift_zone!(data, timezone, Tzdata.TimeZoneDatabase) + DateTime.shift_zone!(date, timezone, Tzdata.TimeZoneDatabase) end def to_date_time(naive = %NaiveDateTime{}, timezone) do -- cgit v1.2.3