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

Station/System uptime displays in seconds can it be days? #21

Closed
glenosAU opened this issue Mar 29, 2023 · 3 comments
Closed

Station/System uptime displays in seconds can it be days? #21

glenosAU opened this issue Mar 29, 2023 · 3 comments

Comments

@glenosAU
Copy link

glenosAU commented Mar 29, 2023

Hi,
Its likely these are simple issues I do not understand and not related to the code.

I have updated to the latest version of neowx-material from here and found the station and system uptimes are being displayed in seconds, can they be displayed in days is this a change in the skin or footer.inc?

Thanks
Glen

@glenosAU glenosAU changed the title Station/System uptime displays in seconds and Cloudbase not charting Station/System uptime displays in seconds can it be days? Mar 29, 2023
@BroMarduk
Copy link

BroMarduk commented Mar 31, 2023

In src/footer.inc, change the lines

Line 27
From:
<td>$station.uptime</td>

To:
<td>$station.uptime.long_form</td>

Line 35
From:
<td>$station.os_uptime</td>

To:
<td>$station.os_uptime.long_form</td>

This is due to a breaking change in WeeWX 4.10
http://www.weewx.com/docs/upgrading.htm#Upgrading_to_V4.10

@W0CHP
Copy link
Collaborator

W0CHP commented Mar 31, 2023

This is due to a breaking change in WeeWX 4.10

Good catch...will commit shortly. Thank you.

@W0CHP W0CHP closed this as completed in 307a0b4 Mar 31, 2023
W0CHP added a commit that referenced this issue Mar 31, 2023
Fix station uptime formats. Fixes #21.
@glenosAU
Copy link
Author

Thanks everyone.

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

3 participants