summaryrefslogtreecommitdiffstats
path: root/apps/comments/js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/js')
-rw-r--r--apps/comments/js/commentcollection.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/comments/js/commentcollection.js b/apps/comments/js/commentcollection.js
index 1fda4a4c709..eaa7a1d53fa 100644
--- a/apps/comments/js/commentcollection.js
+++ b/apps/comments/js/commentcollection.js
@@ -75,7 +75,7 @@
' <oc:limit>' + this._limit + '</oc:limit>\n';
if (this.length > 0) {
- body += ' <oc:datetime>' + this.first().get('creationDateTime') + '</oc:datetime>\n';
+ body += ' <oc:datetime>' + this.last().get('creationDateTime') + '</oc:datetime>\n';
}
body += '</D:report>\n';