Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with local time #59

Open
ianchi opened this issue Jul 20, 2019 · 0 comments
Open

Issues with local time #59

ianchi opened this issue Jul 20, 2019 · 0 comments

Comments

@ianchi
Copy link
Collaborator

ianchi commented Jul 20, 2019

  1. The "local time" shows the time in the browser's TZ instead of in the router's TZ.
  2. There is no ubus call to set the time

The problem is that ubus system.info.localtime needs conversion to string, and when done in the browser, it uses its TZ.

@jow- I think we could add a new property localtimestr to system.info.
I couldn't find which package provides ubus methods for the system namespace.

To which namespace shoud we add a set_time method? rpc-sys? system?
In the meantime I'll add it to luci2.system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant