I want to create a single method that sets timezone, zonename and country (wireless) in one go, and I am wondering if that not already exists. This is for easy configuration of systems deployed in different countries.
My questions:
Does this already exist?
Are timezone and zonename already synchronized elsewhere?
What happens to timezone and zonename on uci commit system?
Working on stand-alone UCI/console openWRT only. My current plan is to create a package that depends on zoneinfo-core and use the zone.tab file to translate from zonename to timezone and wireless country code.
Because there isn't a 1:1 correlation of time zone to country and country to time zone, it might be a bit challenging.
You could always render a map and have the person drop the pin on their location (this would only apply in a LuCI configuration context)... this is common for the desktop operating systems.
Yes - I agree. I was aiming for an approach based on zonename (Africa/Lagos), which would be accurate enough for everything. I agree that country or EAT would be insufficient.
These are embedded systems, and having a single setting avoids issues. We also want to be in regulatory compliance so setting the country on wireless is important. None of the above is luci/web interface oriented, but it would be easy for the right person to implement. Alright - I will have a go at it then.