Arnaud Quette
2021-Aug-20 12:10 UTC
[Nut-upsuser] RFC - Propose to express dates using ISO 8601 when possible
Hi all, I've made a pull request in that sense: https://github.com/networkupstools/nut/pull/1076 I'll follow-up with applying to some drivers and propose more PRs. As usual, comments and feedback welcome. cheers, Arno -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20210820/bd175ff9/attachment.htm>
Roger Price
2021-Aug-20 13:01 UTC
[Nut-upsuser] RFC - Propose to express dates using ISO 8601 when possible
On Fri, 20 Aug 2021, Arnaud Quette via Nut-upsuser wrote:> Hi all, > I've made a pull request in that sense: > https://github.com/networkupstools/nut/pull/1076 > > I'll follow-up with applying to some drivers and propose more PRs. > > As usual, comments and feedback welcome.Will this apply to variables | ups.date | Internal UPS clock date | ups.mfr.date | UPS manufacturing date | ups.test.date | Date of last self test | battery.date | Battery change date (opaque string) | 11/14/00 | battery.mfr.date | Battery manufacturing date which will no longer be opaque strings? Roger
Jim Klimov
2021-Aug-20 14:42 UTC
[Nut-upsuser] RFC - Propose to express dates using ISO 8601 when possible
Dittoing what I wrote in PR comments: It is a bit unclear what "or otherwise and Combined date and time representations" means. An example of ISO 8601 date representation (one of many offered by the standard) "or otherwise"? Which combined date and time would we take - e.g. YYYYMMDDTHHMMSSZ (literal T separator and Z for "zulu" UTC timezone)? Or with dashes and colons? Or...? Otherwise, as a generally uniform and standardized approach - LGTM :) On Fri, Aug 20, 2021, 14:10 Arnaud Quette via Nut-upsuser < nut-upsuser at alioth-lists.debian.net> wrote:> Hi all, > > I've made a pull request in that sense: > https://github.com/networkupstools/nut/pull/1076 > > I'll follow-up with applying to some drivers and propose more PRs. > > As usual, comments and feedback welcome. > > cheers, > Arno > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20210820/6a8c6533/attachment.htm>