t00-multiuser/server/repos/RepoBase.ts
2024-04-22 02:01:14 +01:00

5 lines
No EOL
165 B
TypeScript

export default class RepoBase {
public static convertNullableDatetimeIntToDate(dateTimeInt?:number) {
return dateTimeInt ? new Date(dateTimeInt) : undefined;
}
}