Skip to content

Querying for a timeframe with gm_threads() doesn't use local time zone #146

@EeethB

Description

@EeethB

I have noticed something strange when searching with gmailr for emails sent on a particular date. If I go out to mail.google.com and filter for e.g. "after:2020/8/2 before:2020/8/3", I get emails received on 2020/8/2 in my current time zone, central time (as expected). However, if I run gm_threads("after:2020/8/2 before:2020/8/3") from an R session, it appears to grab something like emails received between 8PM on 8/1 and 8PM on 8/2 central time. So the correct date, but in a time zone 4 hours different. Is there a way to specify time zone with gm_threads()?

Metadata

Metadata

Assignees

No one assigned

    Labels

    question 🤔Question about usage or capabilities of gmailr

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions