XML Output: libxo - provide single API to output TXT, XML, JSON and HTML
Garance A Drosehn
drosih at rpi.edu
Thu Jul 31 03:53:44 UTC 2014
On 30 Jul 2014, at 23:22, Simon J. Gerraty wrote:
> On Wed, 30 Jul 2014 21:37:54 -0400, Garance A Drosehn writes:
>
>> I'd suggest that the above isn't quite what one would want, either.
>> For the text version it's fine to have a time-of-day value as
>> '6:47PM', but if you're going for machine-readable output then
>
> Actually for machine readable output the most useful thing is the utc
> seconds. Eg (in case you don't have access to a Junos router):
>
While that may be the most useful thing for the applications on Junos,
it is not necessarily the most useful thing for other apps. And in the
case of EDN, if one was going to write a timestamp they might as well
write it in the format expected by other EDN-based apps. IMO.
--
Garance Alistair Drosehn = drosih at rpi.edu
Senior Systems Programmer or gad at FreeBSD.org
Rensselaer Polytechnic Institute; Troy, NY; USA
More information about the freebsd-arch
mailing list