DateTime doest have store's local time in Delivery Customization Extension

ShamiqTheDev
Shopify Partner
8 0 0

Hi

I need time for the day, I can get the Date based on the shop using the below Graphql query:

I need time with the date as well to show/hide delivery options based on time and day of the week.

 

GraphQL Query 

Function code testing javascript returning time 

Extension output on developer console 

 

I have tried following up on GitHub, no response.
GitHub Issue link 

Kindly provide a solution.

 

Kind Regards,

Muhammad Shamiq Hussain
Team Lead Engineer
Engineering
Gaditek, SQUATWOLF
Replies 2 (2)

Liam
Shopify Staff
2731 299 769

Hi Muhammad,

 

It may be better to open a new issue in the extensions GitHub repo as it might easily be missed in the older one you found. 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

ShamiqTheDev
Shopify Partner
8 0 0

Update: New issue opened on GitHub:
GitHub - Delivery Customization Issue  

 

Kind Regards,

Muhammad Shamiq Hussain
Team Lead Engineer
Engineering
Gaditek, SQUATWOLF