Fixed "Last seen at" table data not respecting site timezone

no issue

- wrapped the date shown in the table column with the `{{moment-site-tz}}` helper so it's adjusted to show the site-local date
This commit is contained in:
Kevin Ansfield 2022-03-03 19:39:37 +00:00
parent ee8b9452a5
commit b392bdfc0e

View File

@ -20,7 +20,7 @@
{{else if (eq @filterColumn 'last_seen_at')}}
<LinkTo @route="member" @model={{@member}} class="gh-list-data middarkgrey f8" data-test-table-data={{@filterColumn}}>
{{#if (not (is-empty @member.lastSeenAtUTC))}}
{{moment-format @member.lastSeenAtUTC "D MMM YYYY"}}
{{moment-format (moment-site-tz @member.lastSeenAtUTC) "D MMM YYYY"}}
<div class="midlightgrey gh-members-list-subscribed-moment">{{moment-from-now @member.lastSeenAtUTC}}</div>
{{else}}
<span class="midlightgrey">-</span>