mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 15:07:13 +01:00
apply migration with ts-migrate
This commit is contained in:
committed by
Thomas Ruoff
parent
be1e22460d
commit
c3d8c6f3e0
@@ -38,6 +38,7 @@ export function dateFormatFrontend(date) {
|
||||
function dateParse(string, format) {
|
||||
const date = moment(string, format)
|
||||
if (date.isValid()) {
|
||||
// @ts-expect-error ts-migrate(2339) FIXME: Property 'getDate' does not exist on type 'Moment'... Remove this comment to see the full error message
|
||||
return date.getDate()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user