-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi there, would it be possible to take into account Craft's timezone setting when fetching data for the various widgets?
I recently took the plunge and built a custom widget that reported on different order types (specific to a particular CC site). I found that all dates are stored in UTC time, so to get the correct output for my timezone (Pacific/Auckland), I needed to do something similar to a fix implemented in CC earlier in the year: craftcms/commerce@b36ad11.
Just for reference, this is what I'm currently seeing with the goal widget vs. Craft Commerce:
... and this is from my custom widget:
If I get time I might have a crack and raise a PR, but can't promise anything!
Metadata
Metadata
Assignees
Labels
No labels


