My parameter_renderers.yml already has the following:
InternetGatewayDevice.DeviceInfo.UpTime: duration -----Original Message----- From: Users [mailto:users-boun...@lists.genieacs.com] On Behalf Of users-requ...@lists.genieacs.com Sent: Monday, April 17, 2017 10:34 AM To: users@lists.genieacs.com Subject: Users Digest, Vol 29, Issue 12 Send Users mailing list submissions to users@lists.genieacs.com To subscribe or unsubscribe via the World Wide Web, visit http://lists.genieacs.com/mailman/listinfo/users or, via email, send a message with subject or body 'help' to users-requ...@lists.genieacs.com You can reach the person managing the list at users-ow...@lists.genieacs.com When replying, please edit your Subject line so it is more specific than "Re: Contents of Users digest..." Today's Topics: 1. How to convert UpTime to human readable in Genieacs-Gui (GB Overton) 2. Re: How to convert UpTime to human readable in Genieacs-Gui (Dan Morphis) ---------------------------------------------------------------------- Message: 1 Date: Mon, 17 Apr 2017 17:27:21 +0000 From: GB Overton <g...@dcpud.org> To: "'users@lists.genieacs.com'" <users@lists.genieacs.com> Subject: How to convert UpTime to human readable in Genieacs-Gui Message-ID: <535509ebd84c974782f37db5d5dec4b3011b2...@ex1.dc.pud> Content-Type: text/plain; charset="windows-1252" Is there a way to display the UpTime as human readable format instead of Epoch time. Example: InternetGatewayDevice.DeviceInfo.UpTime 2923893 (812:11:33) Serial number<http://172.20.0.101:3000/devices> Product class<http://172.20.0.101:3000/devices> Software version<http://172.20.0.101:3000/devices> ZMAC<http://172.20.0.101:3000/devices> RX<http://172.20.0.101:3000/devices> LinkUpTrans<http://172.20.0.101:3000/devices> IP<http://172.20.0.101:3000/devices> UpTime<http://172.20.0.101:3000/devices> WanIP<http://172.20.0.101:3000/devices> Last inform<http://172.20.0.101:3000/devices> xxxxxxx ZNID4226 S3.1.282 00:01:47:xx.xx.xx 972 2 11169985 (3102:46:25) x.x.x.x 2 minutes ago -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.genieacs.com/pipermail/users/attachments/20170417/d9b9058b/attachment-0001.html> ------------------------------ Message: 2 Date: Mon, 17 Apr 2017 09:33:43 -0800 From: Dan Morphis <d...@milkcarton.com> To: Community support for GenieACS users <users@lists.genieacs.com> Subject: Re: How to convert UpTime to human readable in Genieacs-Gui Message-ID: <1c19249c-3fa0-44a7-b1a0-e502ed1db...@milkcarton.com> Content-Type: text/plain; charset="us-ascii" Re-enable the uptime renderer in parameter_renderers.yml -dan > On Apr 17, 2017, at 9:27 AM, GB Overton <g...@dcpud.org> wrote: > > Is there a way to display the UpTime as human readable format instead of > Epoch time. > > Example: > InternetGatewayDevice.DeviceInfo.UpTime 2923893 (812:11:33) > > Serial number > Product class > Software version > ZMAC > RX > LinkUpTrans > IP > UpTime > WanIP > Last inform > xxxxxxx > ZNID4226 > S3.1.282 > 00:01:47:xx.xx.xx > 972 > 2 > 11169985 (3102:46:25) > x.x.x.x > 2 minutes ago > > _______________________________________________ > Users mailing list > Users@lists.genieacs.com > http://lists.genieacs.com/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.genieacs.com/pipermail/users/attachments/20170417/2a79d77d/attachment.html> ------------------------------ Subject: Digest Footer _______________________________________________ Users mailing list Users@lists.genieacs.com http://lists.genieacs.com/mailman/listinfo/users ------------------------------ End of Users Digest, Vol 29, Issue 12 ************************************* _______________________________________________ Users mailing list Users@lists.genieacs.com http://lists.genieacs.com/mailman/listinfo/users