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

Uptime #17

Closed
haraldtux opened this issue Jan 27, 2019 · 3 comments
Closed

Uptime #17

haraldtux opened this issue Jan 27, 2019 · 3 comments

Comments

@haraldtux
Copy link

haraldtux commented Jan 27, 2019

is it possible to get the uptime set to 1 ?

file : commands.py
line : 453~454
elif svname==SysVars[13]: #%uptime% 3244 Uptime in minutes
return str(rpieTime.getuptime(0))
to
elif svname==SysVars[13]: #%uptime% 0 days 17 hours 27 minutes Uptime in day/houres/minutes
return str(rpieTime.getuptime(1))

or an additional option that you can choose, or minutes or day/houres/minutes

that reads somewhat easier, for example, on a Oled of dashboard.esp file

thank you,
greeting Harald

@enesbcs
Copy link
Owner

enesbcs commented Jan 27, 2019

Good idea! After commit e69ac66
%c_m2dhm%(%uptime%)
can be used to display uptime.

@haraldtux
Copy link
Author

haraldtux commented Jan 27, 2019

It works well !!

Thank you 👍

@enesbcs
Copy link
Owner

enesbcs commented Jan 27, 2019

No problem.

@enesbcs enesbcs closed this as completed Jan 27, 2019
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

2 participants