Skip to content

support time as returned by the older apcupsd as a fallback#14

Open
hacker wants to merge 1 commit intomdlayher:mainfrom
hacker:oldtimer
Open

support time as returned by the older apcupsd as a fallback#14
hacker wants to merge 1 commit intomdlayher:mainfrom
hacker:oldtimer

Conversation

@hacker
Copy link
Copy Markdown

@hacker hacker commented Aug 30, 2022

I have a really old apcupsd on my NAS and don't feel like updating it at the moment… the older versions of apcupsd (prior to 3.14.8 I believe) return different times, e.g.

DATE     : Tue Aug 30 14:46:57 CEST 2022

this patch should make the client fallback to parsing this time should the simplified ISO parsing fail.

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

Successfully merging this pull request may close these issues.

1 participant