diff --git a/src/app/campaigns/components/recover-gains/recover-gains.component.html b/src/app/campaigns/components/recover-gains/recover-gains.component.html
index 74194c565..276dc7b9d 100755
--- a/src/app/campaigns/components/recover-gains/recover-gains.component.html
+++ b/src/app/campaigns/components/recover-gains/recover-gains.component.html
@@ -28,9 +28,10 @@
{{ video?.title }}
{{ 'appliedOn' | translate }}
{{ prom.applyDate | date: 'dd/MM/yyyy' }}
{{ 'at' | translate }}
- {{
- (prom.applyDate | date: 'HH') + 'H' + (prom.applyDate | date: 'HH')
- }}
+
+ {{getApplyTime(prom.applyDate)}}
+
+
diff --git a/src/app/campaigns/components/recover-gains/recover-gains.component.ts b/src/app/campaigns/components/recover-gains/recover-gains.component.ts
index b63638534..f65f851e5 100755
--- a/src/app/campaigns/components/recover-gains/recover-gains.component.ts
+++ b/src/app/campaigns/components/recover-gains/recover-gains.component.ts
@@ -245,6 +245,13 @@ export class RecoverGainsComponent implements OnInit {
this.isDestroyedSubject.complete();
}
+ getApplyTime(applyDate: any) {
+ const timestamp: number = new Date(applyDate).getTime();
+ const dateObject: Date = new Date(timestamp);
+ let formattedTime: string = dateObject.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit', hour12: false });
+ return formattedTime
+ }
+
goToCampaign() {
// this.router.navigate([".."]);
this.router.navigate(['/home/campaign', this.campaignId], {
diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json
index 4af683dc1..39e226378 100755
--- a/src/assets/i18n/en.json
+++ b/src/assets/i18n/en.json
@@ -905,6 +905,7 @@
"Crypto_Highlights_Week_#29": "Crypto Highlights Week #29",
"Crypto_Highlights_Week_#28": "Crypto Highlights Week #28",
"Our_tools": "Our tools",
+ "appliedOn": "APPLIED ON ",
"Satt_wallet": "Satt wallet",
"Our_Dex": "Our Dex, 3xchange.io",
"don't_show_again": "Mute future reminders",