projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allign datetime format with mastodon.
[akkoma]
/
test
/
web
/
mastodon_api
/
status_view_test.exs
diff --git
a/test/web/mastodon_api/status_view_test.exs
b/test/web/mastodon_api/status_view_test.exs
index 3c2de4cbea93835f7cdf2ad03c2c18faa9346d62..198ee72a88c58a719f75d52c6359ed803e1b51a9 100644
(file)
--- a/
test/web/mastodon_api/status_view_test.exs
+++ b/
test/web/mastodon_api/status_view_test.exs
@@
-13,7
+13,7
@@
defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
status = StatusView.render("status.json", %{activity: note})
created_at = (note.data["object"]["published"] || "")
- |> String.replace(~r/\.\d+
/, "
")
+ |> String.replace(~r/\.\d+
Z/, ".000Z
")
expected = %{
id: note.id,