t00-multiuser/server/repos/RepoBase.ts

5 lines
165 B
TypeScript
Raw Permalink Normal View History

2024-04-22 02:01:14 +01:00
export default class RepoBase {
public static convertNullableDatetimeIntToDate(dateTimeInt?:number) {
return dateTimeInt ? new Date(dateTimeInt) : undefined;
}
}