Commit f8d199cb authored by lain's avatar lain

ActivityPub.Utils: Use system time instead of os time for timestamps

parent 20a22362
Pipeline #26048 passed with stages
in 11 minutes and 29 seconds
......@@ -115,7 +115,9 @@ def make_json_ld_header do
end
def make_date do
DateTime.utc_now() |> DateTime.to_iso8601()
System.system_time()
|> DateTime.from_unix!(:native, Calendar.ISO)
|> DateTime.to_iso8601()
end
def generate_activity_id do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment