Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a8eab3c9c8 |
+1
-3
@@ -18,11 +18,9 @@ defmodule Jump.CLI do
|
|||||||
|
|
||||||
now = DateTime.utc_now()
|
now = DateTime.utc_now()
|
||||||
the_end = format.(now)
|
the_end = format.(now)
|
||||||
{the_end_int, ""} = Integer.parse(the_end)
|
|
||||||
|
|
||||||
start = now |> DateTime.add(-4, :day) |> format.()
|
start = now |> DateTime.add(-4, :day) |> format.()
|
||||||
|
|
||||||
Jump.fetch(args[:article], start, the_end_int)
|
Jump.fetch(args[:article], start, the_end)
|
||||||
end
|
end
|
||||||
|
|
||||||
defp calculate(items, args) do
|
defp calculate(items, args) do
|
||||||
|
|||||||
Reference in New Issue
Block a user