Skip to content

Issues with local time #59

@ianchi

Description

@ianchi
  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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions