Skip to content

Commit

Permalink
Fix bug when reading tzdata from /etc/timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwalker committed Jul 27, 2014
1 parent caae8b8 commit 43ac47d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/timezone/timezone_local.ex
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ defmodule Timex.Timezone.Local do
etctz = File.read!(@_ETC_TIMEZONE)
case etctz |> String.starts_with?("TZif2") do
true ->
case etctz |> File.read! |> parse_tzfile(date) do
case etctz |> parse_tzfile(date) do
{:ok, tz} -> {:ok, tz}
{:error, m} -> raise m
end
Expand Down

0 comments on commit 43ac47d

Please sign in to comment.