diff --git a/CHANGELOG.md b/CHANGELOG.md index cdf7c57a6..9035a21f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Introduced a new button to delete all activities from the portfolio activities page - Added `state` to the `MarketData` database schema to distinguish `CLOSE` and `INTRADAY` in the data gathering +- Added the distance to now to the subscription expiration date in the users table of the admin control panel ## 1.260.0 - 2023-04-23 diff --git a/apps/client/src/app/components/admin-users/admin-users.html b/apps/client/src/app/components/admin-users/admin-users.html index e3cb40eac..0f5944129 100644 --- a/apps/client/src/app/components/admin-users/admin-users.html +++ b/apps/client/src/app/components/admin-users/admin-users.html @@ -56,7 +56,7 @@ *ngIf="userItem?.subscription?.type === 'Premium'" class="ml-1" [enableLink]="false" - [title]="userItem.subscription.expiresAt | date: defaultDateFormat" + [title]="'Expires ' + formatDistanceToNow(userItem.subscription.expiresAt) + ' (' + (userItem.subscription.expiresAt | date: defaultDateFormat) + ')'" >