Allow enterprises to set their own time zone

What is the need / problem ?

When setting Order Cycle start and end times, the time is assumed to be in the time zone of the instance’s server. If a user’s time zone is different, the OC will close at a different time than expected because of this difference.

Who does it impact ?

Users on instances that span multiple time zones.

What is the current impact of the problem ?

Could be fairly limited but especially in the US there will be more and more shops that are on different time zones.

What is the benefit of focusing on this ?

People will be able to easily and accurately choose when their shops open and close.

Potential solutions that will solve the problem ?

This could be a pretty extensive change, or it could be fairly simple if we just focus on the Order Cycle time picker. If there were front end code that made the change when that form is submitted, the server side/backend could remain mostly unchanged.

Would need a setting in Enterprise Settings, and ideally a way to automatically guess what that setting should be based on the user’s browser time zone when they sign up.

Selection of a feature candidate

T-shirt size of our selected feature candidate


Metrics to measure if need is satisfied after feature is implemented

Feature owners

Epic/projet where you can follow implementation

Connected wishlist and discovery discussions*

This significantly impacts OFN-CAN also - multiple time zones. Right now enterprises outside of ET (where our server is located) keep a little ‘cheat sheet’ beside their computers so they can quickly convert order cycle opening/closing.

This is now tracked over there: Support for enterprise time zones · Issue #170 · openfoodfoundation/wishlist · GitHub

Closing here.