Lana Dann

    Lana Dann

    4 months ago
    do you have a code example of setting a filter in a certain timezone? i think they default to UTC but i’d like to set them in PST (since the start time is in PST)
    Kevin Kho

    Kevin Kho

    4 months ago
    Try passing a timezone aware date time with
    pendulum
    Lana Dann

    Lana Dann

    4 months ago
    does passing a datetime object into filters only filter within that date range though? our specific use case is a flow that runs hourly but skips midnight and 1am
    Kevin Kho

    Kevin Kho

    4 months ago
    ah I see what you are saying. I think you want the
    between_times
    filter? but yes looks like you can pass pendulum to it
    Lana Dann

    Lana Dann

    4 months ago
    i think we’re just going to convert the times to UTC for the filters 😛 thanks though!
    Kevin Kho

    Kevin Kho

    4 months ago
    ok lol. sounds good!