Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/ghostfolio/commit/26277803c6991c948a4e5096f16ba245480dd62e You should set ROOT_URL correctly, otherwise the web may not work correctly.

Bugfix/fix parse date in date helper ()

Handle empty date string
pull/3676/head
Thomas Kaul 8 months ago committed by GitHub
parent 130c6da6fc
commit 26277803c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -350,7 +350,11 @@ export function isDerivedCurrency(aCurrency: string) {
});
}
export function parseDate(date: string): Date | null {
export function parseDate(date: string): Date {
if (!date) {
return undefined;
}
// Transform 'yyyyMMdd' format to supported format by parse function
if (date?.length === 8) {
const match = date.match(/^(\d{4})(\d{2})(\d{2})$/);

Loading…
Cancel
Save