Hey folks, is there a way to retrieve or access the store timezone through Liquid or JavaScript?
For context
I have some metaobject “date and time” field values
Let’s say the store is on the west coast. Someone in the east coast could get misinformed if I directly used that date and format directly in liquid or javascript right? At least that’s my understanding of it.
The concern is that the physical brick and mortar store won’t be open if a customer is visiting from another time zone?
Or are you saying for customer support hours?
Either way, I don’t think it’s normal practice to change these times to match the visitor’s own timezone. If you want to add some more clarity, perhaps consider adding the store’s time zone in the description in the page?
I found myself getting some very weird values subtracting now/today from the field values returned from the metaobject itself, long chat with GPT uncovered that it’s a timezone issue, hence the post
Sorry for the long expo, hope the context is clearer now