use a parsed date in Document.toString

pull/14/head
reger 9 years ago
parent d5da9e5a38
commit 1e8369e18b

@ -777,7 +777,7 @@ dc_rights
final ByteArrayOutputStream baos = new ByteArrayOutputStream();
try {
final Writer osw = new OutputStreamWriter(baos, "UTF-8");
writeXML(osw, new Date());
writeXML(osw, this.lastModified);
osw.close();
return UTF8.String(baos.toByteArray());
} catch (final UnsupportedEncodingException e1) {

Loading…
Cancel
Save