Skip to content

Retrieve Orders with UTC false #76

@Noido

Description

@Noido

@slince
Hi i try retrieve orders so i put for sample :

$pagination = $client->getOrderManager()->paginate([
'limit'=>250,
'created_at_min' =>'2020-04-20T00:00:00Z',
'created_at_max'=> '2020-04-20T23:59:59Z',
'status' => 'any'
]);

I got all orders of 2020-04-20 but i got also order like

2020-04-21 01:26:43.0 +02:00

So can you explain me how i can get only order between 00:00 and 23:59 UTC ?

When i test on https://mysite.myshopify.com/admin/api/2020-04/orders.json?created_at_max=2020-04-20T23%3A59%3A59Z&created_at_min=2020-04-20T00%3A00%3A00Z&limit=250

It works fine so problem must be with Shopify-api-php

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions