Skip to content

Commit 3d29e45

Browse files
committed
fix: update time format strings in NewStreamProcessor for clarity
1 parent f2c35e8 commit 3d29e45

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

core/dbio/iop/stream_processor.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@ func NewStreamProcessor() *StreamProcessor {
237237
time.ANSIC,
238238
time.UnixDate,
239239
time.RubyDate,
240-
"2006-01-02 15:04:05.999999999 -0700 MST", // Time.String()
240+
"2006-01-02 15:04:05.999999999 -0700 MST", // Time.String() with named timezone
241+
"2006-01-02 15:04:05.999999999 -0700 -07:00", // Time.String() with numeric timezone location
241242
"02 Jan 2006",
242243
"2006-01-02T15:04:05-0700", // RFC3339 without timezone hh:mm colon
243244
"2006-01-02 15:04:05 -07:00",

0 commit comments

Comments
 (0)