mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 18:52:14 +03:00
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:
parent
ee8b9452a5
commit
b392bdfc0e
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user