diff options
| author | Roger Braun <rbraun@Bobble.local> | 2017-09-13 16:26:02 +0200 | 
|---|---|---|
| committer | Roger Braun <rbraun@Bobble.local> | 2017-09-13 16:26:02 +0200 | 
| commit | 94be93aad08ee9b1d43b1a67d94b694101bf5f1a (patch) | |
| tree | aa769318a1f54792d0f33856ccc42f68bae36532 /test/web | |
| parent | d2faee01eea3a0cc8eed95d749d41c4a26556a13 (diff) | |
| download | pleroma-94be93aad08ee9b1d43b1a67d94b694101bf5f1a.tar.gz pleroma-94be93aad08ee9b1d43b1a67d94b694101bf5f1a.zip | |
Allign datetime format with mastodon.
Diffstat (limited to 'test/web')
| -rw-r--r-- | test/web/mastodon_api/status_view_test.exs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/test/web/mastodon_api/status_view_test.exs b/test/web/mastodon_api/status_view_test.exs index 3c2de4cbe..198ee72a8 100644 --- 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, | 
