Compare commits

...

1 Commits

Author SHA1 Message Date
lain
f8d199cbbf ActivityPub.Utils: Use system time instead of os time for timestamps 2020-05-18 18:26:12 +02:00

View File

@ -115,7 +115,9 @@ defmodule Pleroma.Web.ActivityPub.Utils do
end end
def make_date do def make_date do
DateTime.utc_now() |> DateTime.to_iso8601() System.system_time()
|> DateTime.from_unix!(:native, Calendar.ISO)
|> DateTime.to_iso8601()
end end
def generate_activity_id do def generate_activity_id do