From d33ab20edcdac3cf54e2c185a16fa40b62bc5186 Mon Sep 17 00:00:00 2001
From: Andrew Ruthven <puck@catalyst.net.nz>
Date: Fri, 7 Dec 2007 11:07:38 +1300
Subject: [PATCH] Also return the current timestamp in an ISO date format.
This is machine parsable, unlike the localised variants that might be in
the time or date attributes of <Status ...>.
---
mythtv/programs/mythbackend/httpstatus.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/mythtv/programs/mythbackend/httpstatus.cpp b/mythtv/programs/mythbackend/httpstatus.cpp
index 4938aa9..1740b67 100644
a
|
b
|
void HttpStatus::FillStatusXML( QDomDocument *pDoc ) |
150 | 150 | |
151 | 151 | root.setAttribute("date" , qdtNow.toString(dateFormat)); |
152 | 152 | root.setAttribute("time" , qdtNow.toString(timeformat) ); |
| 153 | root.setAttribute("ISODate" , qdtNow.toString(Qt::ISODate) ); |
153 | 154 | root.setAttribute("version" , MYTH_BINARY_VERSION ); |
154 | 155 | root.setAttribute("protoVer", MYTH_PROTO_VERSION ); |
155 | 156 | |