Browse Source
Bugfix/fix end date in ics files (#841)
* Fix end date
* Update changelog
pull/843/head
Thomas Kaul
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
2 additions and
2 deletions
-
CHANGELOG.md
-
apps/client/src/app/pages/portfolio/transactions/transactions-page.component.ts
-
apps/client/src/app/services/ics/ics.service.ts
|
|
@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
### Fixed |
|
|
|
|
|
|
|
- Fixed an issue with changing the investment horizon in the chart of the _FIRE_ calculator |
|
|
|
- Fixed an issue with the end dates in the `.ics` file of the future activities (drafts) export |
|
|
|
- Fixed the data source of the _Fear & Greed Index_ (market mood) |
|
|
|
|
|
|
|
## 1.138.0 - 16.04.2022 |
|
|
|
|
|
@ -181,7 +181,7 @@ export class TransactionsPageComponent implements OnDestroy, OnInit { |
|
|
|
contentType: 'text/calendar', |
|
|
|
fileName: `ghostfolio-draft${ |
|
|
|
data.activities.length > 1 ? 's' : '' |
|
|
|
}-${format(parseISO(data.meta.date), 'yyyyMMddHHmm')}.ics`,
|
|
|
|
}-${format(parseISO(data.meta.date), 'yyyyMMddHHmmss')}.ics`,
|
|
|
|
format: 'string' |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
@ -52,7 +52,6 @@ export class IcsService { |
|
|
|
`UID:${id}`, |
|
|
|
`DTSTAMP:${today}T000000`, |
|
|
|
`DTSTART;VALUE=DATE:${format(date, this.ICS_DATE_FORMAT)}`, |
|
|
|
`DTEND;VALUE=DATE:${format(date, this.ICS_DATE_FORMAT)}`, |
|
|
|
`SUMMARY:${capitalize(type)} ${symbol}`, |
|
|
|
'END:VEVENT' |
|
|
|
].join(this.ICS_LINE_BREAK); |
|
|
|