Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions