Browse Source

Feature/add distance to now to the subscription expiration date (#1895)

* Add distance to now

* Update changelog
pull/1896/head
Thomas Kaul 2 years ago
committed by GitHub
parent
commit
29d53c7df4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 2
      apps/client/src/app/components/admin-users/admin-users.html

1
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

2
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) + ')'"
></gf-premium-indicator>
</div>
</td>

Loading…
Cancel
Save