summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pages/users/activity_calendar.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/pages/users/activity_calendar.js')
-rw-r--r--app/assets/javascripts/pages/users/activity_calendar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/pages/users/activity_calendar.js b/app/assets/javascripts/pages/users/activity_calendar.js
index 94506d33b33..996e12bc105 100644
--- a/app/assets/javascripts/pages/users/activity_calendar.js
+++ b/app/assets/javascripts/pages/users/activity_calendar.js
@@ -298,7 +298,7 @@ export default class ActivityCalendar {
.querySelector(this.activitiesContainer)
.querySelectorAll('.js-localtime')
.forEach((el) => {
- el.setAttribute('title', formatDate(el.dataset.datetime));
+ el.setAttribute('title', formatDate(el.getAttribute('data-datetime')));
});
})
.catch(() =>