Skip to content

Commit

Permalink
Fixed ISO8601 to supply the current timezone code instead of always Z (
Browse files Browse the repository at this point in the history
…Resolves #573)
  • Loading branch information
darkfrog26 committed Apr 18, 2024
1 parent 5473e75 commit ec8d832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/shared/src/main/scala/scribe/format/FormatBlock.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit ec8d832

Please sign in to comment.