From ec8d832d71876ec6834d0e4a9c7cfecb698aad72 Mon Sep 17 00:00:00 2001 From: Matt Hicks Date: Thu, 18 Apr 2024 13:46:00 -0500 Subject: [PATCH] Fixed ISO8601 to supply the current timezone code instead of always Z (Resolves #573) --- core/shared/src/main/scala/scribe/format/FormatBlock.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/shared/src/main/scala/scribe/format/FormatBlock.scala b/core/shared/src/main/scala/scribe/format/FormatBlock.scala index e7c1087bd..8b64566b2 100644 --- a/core/shared/src/main/scala/scribe/format/FormatBlock.scala +++ b/core/shared/src/main/scala/scribe/format/FormatBlock.scala @@ -71,7 +71,7 @@ object FormatBlock { override protected def formatCached(record: LogRecord): LogOutput = { val l = record.timeStamp - val d = s"${l.t.Y}-${l.t.m}-${l.t.d}T${l.t.T}Z" + val d = s"${l.t.Y}-${l.t.m}-${l.t.d}T${l.t.T}${l.t.Z}" new TextOutput(d) } }