# Picks\_by\_day not returning time

**URL:** <https://community.shiphero.com/t/picks-by-day-not-returning-time/96>\
**Category:** GraphQL API\
**Created:** [August 26, 2019, 5:40pm UTC](https://community.shiphero.com/t/picks-by-day-not-returning-time/96 "2019-08-26T17:40:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeremyw](https://avatars.discourse-cdn.com/v4/letter/j/3da27b/32.png) [@jeremyw](https://community.shiphero.com/u/jeremyw)\
**Post date:** [August 26, 2019, 5:40pm UTC](https://community.shiphero.com/t/picks-by-day-not-returning-time/96/1 "2019-08-26T17:40:05Z")

</div>

Hello!

This may primarily be for @seba, but I noticed that the picks\_per\_day query has stopped returning the time the pick happened. A few weeks ago it was returning the time just fine, but now the time on all records is coming back as 00:00:00. Here is the query I’m using:

```
query($date_from: Date, $analyze: Boolean, $cursor: String) {
    picks_per_day(date_from: $date_from, analyze: $analyze) {
        request_id
        complexity
        data(after: $cursor, first: 10, sort:"created_at") {
            pageInfo {
                hasPreviousPage
                hasNextPage
                endCursor
            }
            edges {
                cursor
                node {
                    id
                    line_item_id
                    user_first_name
                    user_last_name
                    order_number
                    sku
                    picked_quantity
                    inventory_bin
                    barcode_scanned
                    created_at
                }
            }
        }
    }
}

```

With the variables:

`{"date_from": "2019-08-23", "cursor": ""}`

Thanks,  
Jeremy

---

<div class="post-metadata">

**Author:** ![seba](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@seba](https://community.shiphero.com/u/seba)\
**Post date:** [August 26, 2019, 10:19pm UTC](https://community.shiphero.com/t/picks-by-day-not-returning-time/96/2 "2019-08-26T22:19:39Z")

</div>

@jeremyw yes you are right, and should be fixed now, sorry about that.  
There should be another fix in place, the `hasNextPage` should now be working as expected and not returning true always.

---

<div class="post-metadata">

**Author:** ![jeremyw](https://avatars.discourse-cdn.com/v4/letter/j/3da27b/32.png) [@jeremyw](https://community.shiphero.com/u/jeremyw)\
**Post date:** [August 27, 2019, 10:29am UTC](https://community.shiphero.com/t/picks-by-day-not-returning-time/96/3 "2019-08-27T10:29:07Z")

</div>

Thanks for the quick fix and update, @seba! And that’s great to hear about the hasNextPage.
