From f3b44426f4bdc18ef14f68bb8381646fdc2ef241 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 4 Jun 2022 20:03:01 +0200 Subject: [bugfix] Update time marshalling format to provide 3 digits of ms (#630) --- internal/util/time.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/util/time.go') diff --git a/internal/util/time.go b/internal/util/time.go index ec24853fb..f969908a7 100644 --- a/internal/util/time.go +++ b/internal/util/time.go @@ -21,7 +21,7 @@ package util import "time" // ISO8601 is a formatter for serializing times that forces ISO8601 behavior. -const ISO8601 = "2006-01-02T15:04:05.00Z" +const ISO8601 = "2006-01-02T15:04:05.000Z" // FormatISO8601 converts the given time to UTC and then formats it // using the ISO8601 const, which the Mastodon API is able to understand. -- cgit v1.2.3