Date: Sat, 08 May 2021 10:48:46 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 255704] Feature Request: ipfw: print time in ISO8601 or allow to pass time format string Message-ID: <bug-255704-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255704 Bug ID: 255704 Summary: Feature Request: ipfw: print time in ISO8601 or allow to pass time format string Product: Base System Version: 13.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: parv.0zero9+freebsd@gmail.com ipfw with "-t" option currently prints the via ctime, supposedly for human consumption. That output of time stamp value is far too fractured for me to easily read and make sense of. Parsing ipfw output to convert seconds since Unix epoch in desired time for= mat is too brittle, as output could change depending on the options passed to i= pfw. There should be an option to print the date-time value in ISO8601 format for easier reading & understanding. Another method could be to allow user to pass in a custom date-time format string -- via an option, environment variable, some tunable, etc. -- for ip= fw to print time stamp in that format. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255704-227>