summaryrefslogtreecommitdiffstats
path: root/xmlserializer/XmlMemoryDocSource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xmlserializer/XmlMemoryDocSource.cpp')
-rw-r--r--xmlserializer/XmlMemoryDocSource.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/xmlserializer/XmlMemoryDocSource.cpp b/xmlserializer/XmlMemoryDocSource.cpp
index 9f1c5ad..ffa86e3 100644
--- a/xmlserializer/XmlMemoryDocSource.cpp
+++ b/xmlserializer/XmlMemoryDocSource.cpp
@@ -67,9 +67,6 @@ bool CXmlMemoryDocSource::populate(CXmlSerializingContext& serializingContext)
// Schema location
docElement.setAttributeString("xsi:noNamespaceSchemaLocation", _strXmlSchemaFile);
-
- // Comment for date/time
- docElement.setComment(string(" Exported on ") + getTimeAsString() + " from " + _strProduct + " version " + _strVersion + " ");
}
// Compose the xml document
@@ -77,16 +74,3 @@ bool CXmlMemoryDocSource::populate(CXmlSerializingContext& serializingContext)
return true;
}
-
-string CXmlMemoryDocSource::getTimeAsString()
-{
- char acBuf[200];
- time_t t;
- struct tm *tmp;
- t = time(NULL);
- tmp = localtime(&t);
-
- strftime(acBuf, sizeof(acBuf), "%F, %T", tmp);
-
- return acBuf;
-}