mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:44:35 +03:00
when a message contains a date that we cannon marhsal to json, adjust the date
found a message with a 24 hour time zone offset, which Go's json package cannot marshal. in that case, we adjust the date to utc.
This commit is contained in:
@ -300,6 +300,7 @@ type Message struct {
|
||||
// ParsedBuf message structure. Currently saved as JSON of message.Part because bstore
|
||||
// cannot yet store recursive types. Created when first needed, and saved in the
|
||||
// database.
|
||||
// todo: once replaced with non-json storage, remove date fixup in ../message/part.go.
|
||||
ParsedBuf []byte
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user