diff --git a/frontend/src/ketr-photos/ketr-photos.html b/frontend/src/ketr-photos/ketr-photos.html
index 626e227..780e919 100755
--- a/frontend/src/ketr-photos/ketr-photos.html
+++ b/frontend/src/ketr-photos/ketr-photos.html
@@ -738,7 +738,13 @@
header.classList.add("horizontal");
var div = document.createElement("div");
div.classList.add("date");
- div.textContent = window.moment(datetime, "YYYY-MM-DD").calendar(null, { sameElse: "MMM DD, YYYY" }).replace(/ at.*/, "");
+ if (this.mode == "memories") {
+ var ago = window.moment(datetime, "YYYY-MM-DD").fromNow();
+ ago = ago.charAt(0).toUpperCase() + ago.substr(1);
+ div.innerHTML = "" + ago + "
" + window.moment(datetime, "YYYY-MM-DD").calendar(null, { sameElse: "MMM DD, YYYY" }).replace(/ at.*/, "") + "";
+ } else {
+ div.textContent = window.moment(datetime, "YYYY-MM-DD").calendar(null, { sameElse: "MMM DD, YYYY" }).replace(/ at.*/, "");
+ }
Polymer.dom(dateBlock).appendChild(header);
Polymer.dom(header).appendChild(div);
thumbnails = document.createElement("div");