We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0ab173 commit 992dad2Copy full SHA for 992dad2
lib/aoc/cli.ex
@@ -38,8 +38,9 @@ defmodule AoC.CLI do
38
]
39
end
40
41
+ # Use UTC-5 in December, thanks rvnash ;)
42
+ defp current_day, do: DateTime.shift(DateTime.utc_now(), hour: -5).day
43
defp current_year, do: Date.utc_today().year
- defp current_day, do: Date.utc_today().day
44
45
def part_command(module, opts \\ []) do
46
year_day_command(
0 commit comments