Implement UtcDate <-> Unix timestamp conversions for JMAP #90
Labels
No Label
IMAP
JMAP
Maildir
Retired
User Experience
User Interface
bsd
bug
contacts
currently worked on
documentation
duplicate
easy
enhancement
help wanted
invalid
linux-gnu
macos
mbox
notmuch
question
security
wishlist
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: meli/meli#90
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Jmap uses RFC3339 formatted dates. In
melib
, unix timestamps are used internally. RFC3339 -> timestamp is implemented atmelib::datetime::rfc3339_to_timestamp
. The reverse operation allows dates to be used in search queries (seemelib::backends::jmap::objects::email
)resources
melib::datetime::rfc3339_to_timestamp
c88eac1cc5/melib/src/datetime.rs (L243)
Query
toEmail
Filter
conversionc88eac1cc5/melib/src/backends/jmap/objects/email.rs (L580)