Skip to content

recognize 'y' for years and 'w' for weeks #17

@fernandolcx

Description

@fernandolcx

I have a network router which reports its uptime like 2w5d2h16m59s.
I'm looking to convert it to seconds to use in monitoring systems, like Zabbix. Any chance of making this work?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions